1. 08 Jul, 2006 1 commit
    • darin's avatar
      - clear up a few minor housekeeping problems · 4714c0a6
      darin authored
              * fast/css/xml-stylesheet-pi-not-in-prolog-expected.checksum: Added.
              * fast/css/xml-stylesheet-pi-not-in-prolog-expected.png: Added.
              * fast/forms/input-appearance-height-expected.checksum: Added.
              Added missing test results.
      
              * fast/block/float/nopaint-after-layer-destruction-expected.checksum:
              * fast/block/positioning/absolute-positioned-overconstrained.html:
              * fast/css/ZeroOpacityLayers.html:
              * fast/css/ZeroOpacityLayers2.html:
              * fast/css/font-shorthand-weight-only-expected.checksum:
              * fast/css/hsl-color-expected.checksum:
              * fast/css/hsla-color-expected.checksum:
              * fast/css/resize-corner-tracking-expected.checksum:
              * fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.checksum:
              * fast/dynamic/selection-highlight-adjust-expected.checksum:
              * fast/forms/button-generated-content-expected.checksum:
              * fast/frames/calculate-fi...
      4714c0a6
  2. 04 Jul, 2006 1 commit
    • weinig's avatar
      LayoutTests: · 2b1a275d
      weinig authored
              Reviewed by Darin.
      
              - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=9506
              Tests using HSL rather than RGB for color values.
      
              * fast/css/hsl-color-expected.checksum: Added.
              * fast/css/hsl-color-expected.png: Added.
              * fast/css/hsl-color-expected.txt: Added.
              * fast/css/hsl-color.html: Added.
              * fast/css/hsla-color-expected.checksum: Added.
              * fast/css/hsla-color-expected.png: Added.
              * fast/css/hsla-color-expected.txt: Added.
              * fast/css/hsla-color.html: Added.
      
      WebCore:
      
              Reviewed by Darin.
        
              - Added HSL color support as specified in CSS3 spec.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9506
              Added parsing support of hsl(h,s,l) and hsla(h,s,l,a)
              Added converting code to convert HSL to RGB
      
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseColorParameters):
              Moved common code to parse RGB/RGBA values into it's
              own function. This code was duplicated in the parseColorFromValue()
              method.
              (WebCore::CSSParser::parseHSLParameters):
              Common code to parse HSL/HSLA values.
              (WebCore::CSSParser::parseColorFromValue):
              Moved RGB/RGBA parsing out to seperate function as the code was
              duplicated. 
              Added parsing support for hsl( and hsla(
              * css/cssparser.h:
              Added two new functions parseColorParameters() and 
              parseHSLParameters().
              * platform/Color.cpp:
              (WebCore::calcHue):
              Added Hue parameter to RGB color.
              (WebCore::makeRGBAFromHSLA):
              New function to convert HSLA to RGBA.
              * platform/Color.h:
              Added new functions makeRGBAFromHSLA() and calcHue().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b1a275d