Changeset 109015 in webkit
- Timestamp:
- Feb 27, 2012 12:36:46 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r109014 r109015 1 2012-02-27 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions]-webkit-flow-into initial value should be none instead of auto 4 https://bugs.webkit.org/show_bug.cgi?id=79670 5 6 Reviewed by Simon Fraser. 7 8 * fast/css/getComputedStyle/computed-style-expected.txt: 9 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 10 * fast/regions/css-regions-disabled-expected.txt: 11 * fast/regions/script-tests/css-regions-disabled.js: 12 * fast/regions/script-tests/webkit-flow-parsing.js: 13 * fast/regions/webkit-flow-parsing-expected.txt: 14 * platform/chromium-mac-snowleopard/fast/css/getComputedStyle/computed-style-expected.txt: 15 * platform/chromium-mac-snowleopard/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 16 * platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt: 17 * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt: 18 * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 19 * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt: 20 * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 21 * platform/qt/svg/css/getComputedStyle-basic-expected.txt: 22 * svg/css/getComputedStyle-basic-expected.txt: 23 1 24 2012-02-27 Ojan Vafai <ojan@chromium.org> 2 25 -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r108158 r109015 212 212 -webkit-user-select: text; 213 213 -webkit-writing-mode: horizontal-tb; 214 -webkit-flow-into: auto;214 -webkit-flow-into: none; 215 215 -webkit-flow-from: none; 216 216 -webkit-region-overflow: auto; -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r108158 r109015 211 211 -webkit-user-select: text 212 212 -webkit-writing-mode: horizontal-tb 213 -webkit-flow-into: auto213 -webkit-flow-into: none 214 214 -webkit-flow-from: none 215 215 -webkit-region-overflow: auto -
trunk/LayoutTests/fast/regions/css-regions-disabled-expected.txt
r108108 r109015 4 4 5 5 6 PASS testWebKitFlowInto("-webkit-flow-into: auto") is ""6 PASS testWebKitFlowInto("-webkit-flow-into: none") is "" 7 7 PASS testWebKitFlowInto("-webkit-flow-into: first-flow") is "" 8 PASS testComputedStyleWebKitFlowInto(" auto") is "auto"9 PASS testComputedStyleWebKitFlowInto("first-flow") is " auto"8 PASS testComputedStyleWebKitFlowInto("none") is "none" 9 PASS testComputedStyleWebKitFlowInto("first-flow") is "none" 10 10 PASS testWebKitFlowFrom("-webkit-flow-from: first-flow") is "" 11 11 PASS testWebKitFlowFrom("-webkit-flow-from: none") is "" -
trunk/LayoutTests/fast/regions/script-tests/css-regions-disabled.js
r108108 r109015 49 49 } 50 50 51 shouldBeEqualToString('testWebKitFlowInto("-webkit-flow-into: auto")', "");51 shouldBeEqualToString('testWebKitFlowInto("-webkit-flow-into: none")', ""); 52 52 shouldBeEqualToString('testWebKitFlowInto("-webkit-flow-into: first-flow")', ""); 53 shouldBeEqualToString('testComputedStyleWebKitFlowInto(" auto")', "auto");54 shouldBeEqualToString('testComputedStyleWebKitFlowInto("first-flow")', " auto");53 shouldBeEqualToString('testComputedStyleWebKitFlowInto("none")', "none"); 54 shouldBeEqualToString('testComputedStyleWebKitFlowInto("first-flow")', "none"); 55 55 56 56 shouldBeEqualToString('testWebKitFlowFrom("-webkit-flow-from: first-flow")', ""); -
trunk/LayoutTests/fast/regions/script-tests/webkit-flow-parsing.js
r98407 r109015 33 33 } 34 34 35 shouldBeEqualToString('test("-webkit-flow-into: auto")', "auto");35 shouldBeEqualToString('test("-webkit-flow-into: none")', "none"); 36 36 shouldBeEqualToString('test("-webkit-flow-into: first-flow")', "first-flow"); 37 37 shouldBeEqualToString('test("-webkit-flow-into: \'first flow\'")', ""); … … 42 42 shouldBeEqualToString('test("-webkit-flow-into: 12px")', ""); 43 43 44 shouldBeEqualToString('testComputedStyle(" auto")', "auto");45 shouldBeEqualToString('testComputedStyle("")', " auto");46 shouldBeEqualToString('testComputedStyle("\'first-flow\'")', " auto");44 shouldBeEqualToString('testComputedStyle("none")', "none"); 45 shouldBeEqualToString('testComputedStyle("")', "none"); 46 shouldBeEqualToString('testComputedStyle("\'first-flow\'")', "none"); 47 47 shouldBeEqualToString('testComputedStyle("first-flow")', "first-flow"); 48 shouldBeEqualToString('testComputedStyle("12px")', " auto");48 shouldBeEqualToString('testComputedStyle("12px")', "none"); 49 49 50 shouldBeEqualToString('testNotInherited(" auto", "auto")', "auto");51 shouldBeEqualToString('testNotInherited(" auto", "child-flow")', "child-flow");52 shouldBeEqualToString('testNotInherited("parent-flow", " auto")', "auto");50 shouldBeEqualToString('testNotInherited("none", "none")', "none"); 51 shouldBeEqualToString('testNotInherited("none", "child-flow")', "child-flow"); 52 shouldBeEqualToString('testNotInherited("parent-flow", "none")', "none"); 53 53 shouldBeEqualToString('testNotInherited("parent-flow", "child-flow")', "child-flow"); -
trunk/LayoutTests/fast/regions/webkit-flow-parsing-expected.txt
r97454 r109015 4 4 5 5 6 PASS test("-webkit-flow-into: auto") is "auto"6 PASS test("-webkit-flow-into: none") is "none" 7 7 PASS test("-webkit-flow-into: first-flow") is "first-flow" 8 8 PASS test("-webkit-flow-into: 'first flow'") is "" … … 12 12 PASS test("-webkit-flow-into: -1") is "" 13 13 PASS test("-webkit-flow-into: 12px") is "" 14 PASS testComputedStyle(" auto") is "auto"15 PASS testComputedStyle("") is " auto"16 PASS testComputedStyle("'first-flow'") is " auto"14 PASS testComputedStyle("none") is "none" 15 PASS testComputedStyle("") is "none" 16 PASS testComputedStyle("'first-flow'") is "none" 17 17 PASS testComputedStyle("first-flow") is "first-flow" 18 PASS testComputedStyle("12px") is " auto"19 PASS testNotInherited(" auto", "auto") is "auto"20 PASS testNotInherited(" auto", "child-flow") is "child-flow"21 PASS testNotInherited("parent-flow", " auto") is "auto"18 PASS testComputedStyle("12px") is "none" 19 PASS testNotInherited("none", "none") is "none" 20 PASS testNotInherited("none", "child-flow") is "child-flow" 21 PASS testNotInherited("parent-flow", "none") is "none" 22 22 PASS testNotInherited("parent-flow", "child-flow") is "child-flow" 23 23 PASS successfullyParsed is true -
trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/css/getComputedStyle/computed-style-expected.txt
r108147 r109015 213 213 -webkit-user-select: text; 214 214 -webkit-writing-mode: horizontal-tb; 215 -webkit-flow-into: auto;215 -webkit-flow-into: none; 216 216 -webkit-flow-from: none; 217 217 -webkit-region-overflow: auto; -
trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r108147 r109015 212 212 -webkit-user-select: text 213 213 -webkit-writing-mode: horizontal-tb 214 -webkit-flow-into: auto214 -webkit-flow-into: none 215 215 -webkit-flow-from: none 216 216 -webkit-region-overflow: auto -
trunk/LayoutTests/platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt
r108147 r109015 423 423 rect: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 424 424 rect: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 425 rect: style.getPropertyValue(-webkit-flow-into) : auto425 rect: style.getPropertyValue(-webkit-flow-into) : none 426 426 rect: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 427 427 rect: style.getPropertyValue(-webkit-flow-from) : none … … 941 941 g: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 942 942 g: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 943 g: style.getPropertyValue(-webkit-flow-into) : auto943 g: style.getPropertyValue(-webkit-flow-into) : none 944 944 g: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 945 945 g: style.getPropertyValue(-webkit-flow-from) : none -
trunk/LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt
r108139 r109015 213 213 -webkit-user-select: text; 214 214 -webkit-writing-mode: horizontal-tb; 215 -webkit-flow-into: auto;215 -webkit-flow-into: none; 216 216 -webkit-flow-from: none; 217 217 -webkit-region-overflow: auto; -
trunk/LayoutTests/platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r108139 r109015 212 212 -webkit-user-select: text 213 213 -webkit-writing-mode: horizontal-tb 214 -webkit-flow-into: auto214 -webkit-flow-into: none 215 215 -webkit-flow-from: none 216 216 -webkit-region-overflow: auto -
trunk/LayoutTests/platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt
r108139 r109015 423 423 rect: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 424 424 rect: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 425 rect: style.getPropertyValue(-webkit-flow-into) : auto425 rect: style.getPropertyValue(-webkit-flow-into) : none 426 426 rect: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 427 427 rect: style.getPropertyValue(-webkit-flow-from) : none … … 941 941 g: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 942 942 g: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 943 g: style.getPropertyValue(-webkit-flow-into) : auto943 g: style.getPropertyValue(-webkit-flow-into) : none 944 944 g: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 945 945 g: style.getPropertyValue(-webkit-flow-from) : none -
trunk/LayoutTests/platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r108611 r109015 211 211 -webkit-user-select: text 212 212 -webkit-writing-mode: horizontal-tb 213 -webkit-flow-into: auto213 -webkit-flow-into: none 214 214 -webkit-flow-from: none 215 215 -webkit-region-overflow: auto -
trunk/LayoutTests/platform/qt/svg/css/getComputedStyle-basic-expected.txt
r108895 r109015 421 421 rect: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 422 422 rect: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 423 rect: style.getPropertyValue(-webkit-flow-into) : auto423 rect: style.getPropertyValue(-webkit-flow-into) : none 424 424 rect: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 425 425 rect: style.getPropertyValue(-webkit-flow-from) : none … … 937 937 g: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 938 938 g: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 939 g: style.getPropertyValue(-webkit-flow-into) : auto939 g: style.getPropertyValue(-webkit-flow-into) : none 940 940 g: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 941 941 g: style.getPropertyValue(-webkit-flow-from) : none -
trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt
r108893 r109015 425 425 rect: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 426 426 rect: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 427 rect: style.getPropertyValue(-webkit-flow-into) : auto427 rect: style.getPropertyValue(-webkit-flow-into) : none 428 428 rect: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 429 429 rect: style.getPropertyValue(-webkit-flow-from) : none … … 945 945 g: style.getPropertyValue(-webkit-writing-mode) : horizontal-tb 946 946 g: style.getPropertyCSSValue(-webkit-writing-mode) : [object CSSPrimitiveValue] 947 g: style.getPropertyValue(-webkit-flow-into) : auto947 g: style.getPropertyValue(-webkit-flow-into) : none 948 948 g: style.getPropertyCSSValue(-webkit-flow-into) : [object CSSPrimitiveValue] 949 949 g: style.getPropertyValue(-webkit-flow-from) : none -
trunk/Source/WebCore/ChangeLog
r109014 r109015 1 2012-02-27 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions]-webkit-flow-into initial value should be none instead of auto 4 https://bugs.webkit.org/show_bug.cgi?id=79670 5 6 Reviewed by Simon Fraser. 7 8 No new tests, modified expectations for existing tests. 9 10 * css/CSSComputedStyleDeclaration.cpp: 11 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): 12 * css/CSSParser.cpp: 13 (WebCore::CSSParser::parseFlowThread): 14 * css/CSSStyleApplyProperty.cpp: 15 (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): 16 1 17 2012-02-27 Ojan Vafai <ojan@chromium.org> 2 18 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r108855 r109015 2268 2268 case CSSPropertyWebkitFlowInto: 2269 2269 if (style->flowThread().isNull()) 2270 return cssValuePool->createIdentifierValue(CSSValue Auto);2270 return cssValuePool->createIdentifierValue(CSSValueNone); 2271 2271 return cssValuePool->createValue(style->flowThread(), CSSPrimitiveValue::CSS_STRING); 2272 2272 case CSSPropertyWebkitFlowFrom: -
trunk/Source/WebCore/css/CSSParser.cpp
r108855 r109015 7104 7104 return false; 7105 7105 7106 if (value->id == CSSValue Auto) {7106 if (value->id == CSSValueNone) { 7107 7107 addProperty(propId, cssValuePool()->createIdentifierValue(value->id), important); 7108 7108 return true; … … 7115 7115 addProperty(propId, cssValuePool()->createValue(inputProperty, CSSPrimitiveValue::CSS_STRING), important); 7116 7116 } else 7117 addProperty(propId, cssValuePool()->createIdentifierValue(CSSValue Auto), important);7117 addProperty(propId, cssValuePool()->createIdentifierValue(CSSValueNone), important); 7118 7118 7119 7119 return true; -
trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp
r108555 r109015 1942 1942 setPropertyHandler(CSSPropertyWebkitColumnWidth, ApplyPropertyAuto<float, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColumnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler()); 1943 1943 setPropertyHandler(CSSPropertyWebkitFlowFrom, ApplyPropertyString<MapNoneToNull, &RenderStyle::regionThread, &RenderStyle::setRegionThread, &RenderStyle::initialRegionThread>::createHandler()); 1944 setPropertyHandler(CSSPropertyWebkitFlowInto, ApplyPropertyString<Map AutoToNull, &RenderStyle::flowThread, &RenderStyle::setFlowThread, &RenderStyle::initialFlowThread>::createHandler());1944 setPropertyHandler(CSSPropertyWebkitFlowInto, ApplyPropertyString<MapNoneToNull, &RenderStyle::flowThread, &RenderStyle::setFlowThread, &RenderStyle::initialFlowThread>::createHandler()); 1945 1945 setPropertyHandler(CSSPropertyWebkitHighlight, ApplyPropertyString<MapNoneToNull, &RenderStyle::highlight, &RenderStyle::setHighlight, &RenderStyle::initialHighlight>::createHandler()); 1946 1946 setPropertyHandler(CSSPropertyWebkitHyphenateCharacter, ApplyPropertyString<MapAutoToNull, &RenderStyle::hyphenationString, &RenderStyle::setHyphenationString, &RenderStyle::initialHyphenationString>::createHandler());
Note: See TracChangeset
for help on using the changeset viewer.