Changeset 244353 in webkit
- Timestamp:
- Apr 16, 2019 12:48:37 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 67 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r244346 r244353 1 2019-04-16 Devin Rousso <drousso@apple.com> 2 3 Unprefix -webkit-sticky 4 https://bugs.webkit.org/show_bug.cgi?id=196962 5 <rdar://problem/40903458> 6 7 Reviewed by Simon Fraser. 8 9 * compositing/layer-creation/no-compositing-for-sticky.html: 10 * editing/pasteboard/copy-paste-converts-sticky.html: 11 * editing/pasteboard/copy-paste-converts-sticky-expected.txt: 12 * fast/block/positioning/fixed-container-with-sticky-parent.html: 13 * fast/block/sticky-position-containing-block-crash.html: 14 * fast/css/sticky/inflow-sticky.html: 15 * fast/css/sticky/inline-sticky-abspos-child.html: 16 * fast/css/sticky/inline-sticky.html: 17 * fast/css/sticky/multiple-layers-sticky-crash.html: 18 * fast/css/sticky/parsing-position-sticky-expected.txt: 19 * fast/css/sticky/remove-inline-sticky-crash.html: 20 * fast/css/sticky/remove-sticky-crash.html: 21 * fast/css/sticky/replaced-sticky.html: 22 * fast/css/sticky/resources/parsing-position-sticky.js: 23 * fast/css/sticky/sticky-as-positioning-container.html: 24 * fast/css/sticky/sticky-both-sides.html: 25 * fast/css/sticky/sticky-bottom-overflow-padding.html: 26 * fast/css/sticky/sticky-left-percentage.html: 27 * fast/css/sticky/sticky-left.html: 28 * fast/css/sticky/sticky-margins.html: 29 * fast/css/sticky/sticky-overflowing.html: 30 * fast/css/sticky/sticky-side-margins.html: 31 * fast/css/sticky/sticky-stacking-context.html: 32 * fast/css/sticky/sticky-stacking-context-expected.html: 33 * fast/css/sticky/sticky-table-row-top.html: 34 * fast/css/sticky/sticky-table-thead-top.html: 35 * fast/css/sticky/sticky-top-margins.html: 36 * fast/css/sticky/sticky-top-overflow-container-overflow.html: 37 * fast/css/sticky/sticky-top-overflow.html: 38 * fast/css/sticky/sticky-top-zoomed.html: 39 * fast/css/sticky/sticky-top-zoomed-expected.html: 40 * fast/css/sticky/sticky-top.html: 41 * fast/css/sticky/sticky-writing-mode-horizontal-bt.html: 42 * fast/css/sticky/sticky-writing-mode-vertical-lr.html: 43 * fast/css/sticky/sticky-writing-mode-vertical-rl.html: 44 * fast/multicol/newmulticol/table-section-crash.html: 45 * fast/scrolling/ios/reconcile-layer-position-recursive.html: 46 * fast/scrolling/rtl-scrollbars-sticky-document-2.html: 47 * fast/scrolling/rtl-scrollbars-sticky-document.html: 48 * fast/scrolling/rtl-scrollbars-sticky-iframe-2.html: 49 * fast/scrolling/rtl-scrollbars-sticky-iframe.html: 50 * fast/scrolling/rtl-scrollbars-sticky-overflow-scroll-2.html: 51 * fast/scrolling/rtl-scrollbars-sticky-overflow-scroll.html: 52 * fast/scrolling/sticky-to-fixed.html: 53 * legacy-animation-engine/fast/multicol/newmulticol/table-section-crash.html: 54 * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html: 55 * svg/text/select-text-inside-non-static-position.html: 56 * tiled-drawing/scrolling/sticky/negative-scroll-offset.html: 57 * tiled-drawing/scrolling/sticky/sticky-horizontal.html: 58 * tiled-drawing/scrolling/sticky/sticky-layers.html: 59 * tiled-drawing/scrolling/sticky/sticky-vertical.html: 60 1 61 2019-04-16 John Wilander <wilander@apple.com> 2 62 -
trunk/LayoutTests/compositing/layer-creation/no-compositing-for-sticky.html
r190060 r244353 26 26 27 27 .sticky { 28 position: -webkit-sticky;28 position: sticky; 29 29 display: inline-block; 30 30 background: silver; -
trunk/LayoutTests/editing/pasteboard/copy-paste-converts-sticky-expected.txt
r164299 r244353 22 22 abc" 23 23 | <div> 24 | style="position: -webkit-sticky; left: 0px; top: 0px;"24 | style="position: sticky; left: 0px; top: 0px;" 25 25 | "def" 26 26 | "ghi -
trunk/LayoutTests/editing/pasteboard/copy-paste-converts-sticky.html
r164299 r244353 5 5 </head> 6 6 <body> 7 abc<div style="position: -webkit-sticky; left: 0px; top: 0px;">def</div>ghi7 abc<div style="position: sticky; left: 0px; top: 0px;">def</div>ghi 8 8 <br/> 9 9 -
trunk/LayoutTests/fast/block/positioning/fixed-container-with-sticky-parent.html
r194710 r244353 9 9 </head> 10 10 <body> 11 <div style="position: -webkit-sticky; left: 50px; width: 20px; height: 20px; border: 1px solid green;">11 <div style="position: sticky; left: 50px; width: 20px; height: 20px; border: 1px solid green;"> 12 12 <div class=fixed style="width: 20px; height: 20px; background-color: green;"></div> 13 13 </div> 14 <div style="position: -webkit-sticky; left: 50px; width: 20px; height: 20px; margin: 5px; border: 1px solid green;">14 <div style="position: sticky; left: 50px; width: 20px; height: 20px; margin: 5px; border: 1px solid green;"> 15 15 <div class=fixed style="width: 20px; height: 20px; background-color: green;"></div> 16 16 </div> -
trunk/LayoutTests/fast/block/sticky-position-containing-block-crash.html
r138908 r244353 8 8 <i> 9 9 <i> 10 <i style="position: -webkit-sticky; display: table-footer-group;">10 <i style="position: sticky; display: table-footer-group;"> 11 11 <span></span> 12 12 </i> -
trunk/LayoutTests/fast/css/sticky/inflow-sticky.html
r180441 r244353 38 38 .sticky { 39 39 background-color: green; 40 position: -webkit-sticky;40 position: sticky; 41 41 top: 300px; 42 42 } -
trunk/LayoutTests/fast/css/sticky/inline-sticky-abspos-child.html
r180441 r244353 35 35 height: 200px; 36 36 color: blue; 37 position: -webkit-sticky;37 position: sticky; 38 38 top: 100px; 39 39 } -
trunk/LayoutTests/fast/css/sticky/inline-sticky.html
r180441 r244353 35 35 height: 200px; 36 36 color: blue; 37 position: -webkit-sticky;37 position: sticky; 38 38 top: 100px; 39 39 } -
trunk/LayoutTests/fast/css/sticky/multiple-layers-sticky-crash.html
r155608 r244353 13 13 14 14 div { 15 position: -webkit-sticky;15 position: sticky; 16 16 } 17 17 </style> -
trunk/LayoutTests/fast/css/sticky/parsing-position-sticky-expected.txt
r187813 r244353 1 This tests checks that the -webkit-sticky value for position parses correctly.1 This tests checks that the sticky value for position parses correctly. 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 5 5 6 6 PASS test("position: -webkit-sticky;") is "-webkit-sticky" 7 PASS test("position: sticky;") is " "7 PASS test("position: sticky;") is "sticky" 8 8 PASS successfullyParsed is true 9 9 -
trunk/LayoutTests/fast/css/sticky/remove-inline-sticky-crash.html
r127301 r244353 15 15 16 16 .sticky { 17 position: -webkit-sticky;17 position: sticky; 18 18 top: 100px; 19 19 background-color: green; -
trunk/LayoutTests/fast/css/sticky/remove-sticky-crash.html
r180441 r244353 15 15 16 16 .sticky { 17 position: -webkit-sticky;17 position: sticky; 18 18 top: 100px; 19 19 background-color: green; -
trunk/LayoutTests/fast/css/sticky/replaced-sticky.html
r180441 r244353 30 30 .sticky { 31 31 background-color: silver; 32 position: -webkit-sticky;32 position: sticky; 33 33 top: 100px; 34 34 } -
trunk/LayoutTests/fast/css/sticky/resources/parsing-position-sticky.js
r187813 r244353 1 description("This tests checks that the -webkit-sticky value for position parses correctly.");1 description("This tests checks that the sticky value for position parses correctly."); 2 2 3 3 function test(value) … … 13 13 14 14 shouldBe('test("position: -webkit-sticky;")', '"-webkit-sticky"'); 15 shouldBe EqualToString('test("position: sticky;")', '');15 shouldBe('test("position: sticky;")', '"sticky"'); -
trunk/LayoutTests/fast/css/sticky/sticky-as-positioning-container.html
r180441 r244353 29 29 30 30 .sticky { 31 position: -webkit-sticky;31 position: sticky; 32 32 top: 100px; 33 33 background-color: silver; -
trunk/LayoutTests/fast/css/sticky/sticky-both-sides.html
r180441 r244353 36 36 37 37 .sticky { 38 position: -webkit-sticky;38 position: sticky; 39 39 left: 50px; 40 40 right: 50px; -
trunk/LayoutTests/fast/css/sticky/sticky-bottom-overflow-padding.html
r164324 r244353 36 36 37 37 .sticky { 38 position: -webkit-sticky;38 position: sticky; 39 39 bottom: 0px; 40 40 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-left-percentage.html
r180441 r244353 28 28 29 29 .sticky { 30 position: -webkit-sticky;30 position: sticky; 31 31 /* DRT window is 800px wide */ 32 32 left: 12.5%; -
trunk/LayoutTests/fast/css/sticky/sticky-left.html
r180441 r244353 28 28 29 29 .sticky { 30 position: -webkit-sticky;30 position: sticky; 31 31 left: 100px; 32 32 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-margins.html
r180441 r244353 30 30 31 31 .sticky { 32 position: -webkit-sticky;32 position: sticky; 33 33 top: 10px; 34 34 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-overflowing.html
r180441 r244353 47 47 48 48 .sticky { 49 position: -webkit-sticky;49 position: sticky; 50 50 top: 200px; 51 51 right: 200px; -
trunk/LayoutTests/fast/css/sticky/sticky-side-margins.html
r180441 r244353 28 28 29 29 .sticky { 30 position: -webkit-sticky;30 position: sticky; 31 31 left: 100px; 32 32 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-stacking-context-expected.html
r180441 r244353 20 20 21 21 .sticky { 22 position: -webkit-sticky;22 position: sticky; 23 23 } 24 24 -
trunk/LayoutTests/fast/css/sticky/sticky-stacking-context.html
r180441 r244353 19 19 20 20 .sticky { 21 position: -webkit-sticky;21 position: sticky; 22 22 } 23 23 -
trunk/LayoutTests/fast/css/sticky/sticky-table-row-top.html
r162960 r244353 36 36 37 37 .sticky { 38 position: -webkit-sticky;38 position: sticky; 39 39 top: 100px; 40 40 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-table-thead-top.html
r162960 r244353 36 36 37 37 .sticky { 38 position: -webkit-sticky;38 position: sticky; 39 39 top: 100px; 40 40 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-top-margins.html
r180441 r244353 30 30 31 31 .sticky { 32 position: -webkit-sticky;32 position: sticky; 33 33 top: 10px; 34 34 margin: 20px; -
trunk/LayoutTests/fast/css/sticky/sticky-top-overflow-container-overflow.html
r152998 r244353 35 35 36 36 .sticky { 37 position: -webkit-sticky;37 position: sticky; 38 38 top: 100px; 39 39 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-top-overflow.html
r180441 r244353 35 35 36 36 .sticky { 37 position: -webkit-sticky;37 position: sticky; 38 38 top: 100px; 39 39 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.html
r138036 r244353 33 33 34 34 .sticky { 35 position: -webkit-sticky;35 position: sticky; 36 36 top: 75px; 37 37 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-top-zoomed.html
r138036 r244353 33 33 34 34 .sticky { 35 position: -webkit-sticky;35 position: sticky; 36 36 top: 75px; 37 37 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-top.html
r180441 r244353 29 29 30 30 .sticky { 31 position: -webkit-sticky;31 position: sticky; 32 32 top: 100px; 33 33 background-color: green; -
trunk/LayoutTests/fast/css/sticky/sticky-writing-mode-horizontal-bt.html
r180441 r244353 31 31 32 32 .sticky { 33 position: -webkit-sticky;33 position: sticky; 34 34 top: 100px; 35 35 bottom: 100px; -
trunk/LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-lr.html
r180441 r244353 30 30 31 31 .sticky { 32 position: -webkit-sticky;32 position: sticky; 33 33 background-color: green; 34 34 width: 100px; -
trunk/LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-rl.html
r180441 r244353 30 30 31 31 .sticky { 32 position: -webkit-sticky;32 position: sticky; 33 33 background-color: green; 34 34 width: 100px; -
trunk/LayoutTests/fast/multicol/newmulticol/table-section-crash.html
r169160 r244353 19 19 style = document.createElement("style"); 20 20 style.innerHTML = "* { \n\ 21 position: -webkit-sticky;\n\21 position: sticky;\n\ 22 22 -webkit-animation-direction: alternate-reverse;"; 23 23 -
trunk/LayoutTests/fast/scrolling/ios/reconcile-layer-position-recursive.html
r244228 r244353 20 20 } 21 21 .sticky { 22 position: -webkit-sticky;23 22 position: sticky; 24 23 height: 100px; -
trunk/LayoutTests/fast/scrolling/rtl-scrollbars-sticky-document-2.html
r200116 r244353 12 12 This test makes sure that position-sticky obeys RTL scrollbars when positioning. 13 13 <div style="position: absolute; top: 100px; left: 0px; width: 2000px; height: 2000px;"> 14 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: -webkit-sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div>14 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div> 15 15 </div> 16 16 <script> -
trunk/LayoutTests/fast/scrolling/rtl-scrollbars-sticky-document.html
r200116 r244353 12 12 This test makes sure that position-sticky obeys RTL scrollbars when positioning. 13 13 <div style="position: absolute; top: 100px; left: 0px; width: 2000px; height: 2000px;"> 14 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: -webkit-sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div>14 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div> 15 15 </div> 16 16 </body> -
trunk/LayoutTests/fast/scrolling/rtl-scrollbars-sticky-iframe-2.html
r200116 r244353 16 16 <body> 17 17 <div style='position: absolute; top: 0px; left: 0px; width: 2000px; height: 2000px'> 18 <div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div><div style='display: inline-block; position: -webkit-sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;'></div><div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div>18 <div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div><div style='display: inline-block; position: sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;'></div><div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div> 19 19 </div> 20 20 <script> -
trunk/LayoutTests/fast/scrolling/rtl-scrollbars-sticky-iframe.html
r200116 r244353 16 16 <body> 17 17 <div style='position: absolute; top: 0px; left: 0px; width: 2000px; height: 2000px'> 18 <div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div><div style='display: inline-block; position: -webkit-sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;'></div><div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div>18 <div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div><div style='display: inline-block; position: sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;'></div><div style='display: inline-block; position: static; width: 800px; height: 100px; background: blue;'></div> 19 19 </div> 20 20 </body> -
trunk/LayoutTests/fast/scrolling/rtl-scrollbars-sticky-overflow-scroll-2.html
r200116 r244353 13 13 <div id="scrolling" style="position: relative; width: 600px; height: 500px; overflow: scroll;"> 14 14 <div style="position: absolute; top: 0px; left: 0px; width: 2000px;"> 15 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: -webkit-sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div>15 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div> 16 16 </div> 17 17 </div> -
trunk/LayoutTests/fast/scrolling/rtl-scrollbars-sticky-overflow-scroll.html
r200116 r244353 13 13 <div style="position: relative; width: 600px; height: 500px; overflow: scroll;"> 14 14 <div style="position: absolute; top: 0px; left: 0px; width: 2000px;"> 15 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: -webkit-sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div>15 <div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div><div style="display: inline-block; position: sticky; left: 0px; right: 0px; width: 100px; height: 100px; background: green;"></div><div style="display: inline-block; position: static; width: 800px; height: 100px; background: blue;"></div> 16 16 </div> 17 17 </div> -
trunk/LayoutTests/fast/scrolling/sticky-to-fixed.html
r206712 r244353 7 7 } 8 8 .masthead { 9 position: -webkit-sticky;9 position: sticky; 10 10 width: 200px; 11 11 height: 100px; -
trunk/LayoutTests/legacy-animation-engine/fast/multicol/newmulticol/table-section-crash.html
r230471 r244353 19 19 style = document.createElement("style"); 20 20 style.innerHTML = "* { \n\ 21 position: -webkit-sticky;\n\21 position: sticky;\n\ 22 22 -webkit-animation-direction: alternate-reverse;"; 23 23 -
trunk/LayoutTests/scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html
r244228 r244353 24 24 } 25 25 .sticky { 26 position: -webkit-sticky;26 position: sticky; 27 27 top: 10px; 28 28 bottom: 10px; -
trunk/LayoutTests/svg/text/select-text-inside-non-static-position.html
r160819 r244353 4 4 <style> 5 5 * { 6 position: -webkit-sticky;6 position: sticky; 7 7 -webkit-transform: scaleX(2); 8 8 } -
trunk/LayoutTests/tiled-drawing/scrolling/sticky/negative-scroll-offset.html
r187905 r244353 7 7 8 8 .sticky { 9 position: -webkit-sticky;9 position: sticky; 10 10 width: 100%; 11 11 height: 50px; -
trunk/LayoutTests/tiled-drawing/scrolling/sticky/sticky-horizontal.html
r187905 r244353 25 25 26 26 .sticky { 27 position: -webkit-sticky;27 position: sticky; 28 28 display: inline-block; 29 29 background: silver; -
trunk/LayoutTests/tiled-drawing/scrolling/sticky/sticky-layers.html
r187905 r244353 25 25 26 26 .sticky { 27 position: -webkit-sticky;27 position: sticky; 28 28 display: inline-block; 29 29 background: silver; -
trunk/LayoutTests/tiled-drawing/scrolling/sticky/sticky-vertical.html
r187905 r244353 20 20 .sticky { 21 21 float: left; 22 position: -webkit-sticky;22 position: sticky; 23 23 background: silver; 24 24 margin: 5px; -
trunk/Source/WebCore/ChangeLog
r244331 r244353 1 2019-04-16 Devin Rousso <drousso@apple.com> 2 3 Unprefix -webkit-sticky 4 https://bugs.webkit.org/show_bug.cgi?id=196962 5 <rdar://problem/40903458> 6 7 Reviewed by Simon Fraser. 8 9 Updated existing tests. 10 11 This change doesn't modify functionality, only exposing a new unprefixed CSS value. 12 13 * css/CSSProperties.json: 14 * css/CSSValueKeywords.in: 15 16 * css/CSSPrimitiveValueMappings.h: 17 (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): 18 (WebCore::CSSPrimitiveValue::operator PositionType const): 19 20 * css/parser/CSSParserFastPaths.cpp: 21 (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): 22 23 * editing/EditingStyle.cpp: 24 (WebCore::EditingStyle::convertPositionStyle): 25 1 26 2019-04-16 Commit Queue <commit-queue@webkit.org> 2 27 -
trunk/Source/WebCore/css/CSSPrimitiveValueMappings.h
r244036 r244353 2336 2336 break; 2337 2337 case PositionType::Sticky: 2338 m_value.valueID = CSSValue WebkitSticky;2338 m_value.valueID = CSSValueSticky; 2339 2339 break; 2340 2340 } … … 2354 2354 case CSSValueFixed: 2355 2355 return PositionType::Fixed; 2356 case CSSValueSticky: 2356 2357 case CSSValueWebkitSticky: 2357 2358 return PositionType::Sticky; -
trunk/Source/WebCore/css/CSSProperties.json
r244036 r244353 3502 3502 "fixed", 3503 3503 { 3504 "value": "sticky", 3505 "url": "https://www.w3.org/TR/css-position-3/#valdef-position-sticky" 3506 }, 3507 { 3504 3508 "value": "-webkit-sticky", 3505 "status": "experimental", 3506 "url": "https://www.w3.org/TR/css-position-3/#valdef-position-sticky" 3509 "status": "deprecated" 3507 3510 } 3508 3511 ], -
trunk/Source/WebCore/css/CSSValueKeywords.in
r244036 r244353 1154 1154 1155 1155 // position 1156 sticky 1156 1157 -webkit-sticky 1157 1158 -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r244036 r244353 628 628 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblePainted && valueID <= CSSValueStroke); 629 629 case CSSPropertyPosition: // static | relative | absolute | fixed | sticky 630 return valueID == CSSValueStatic || valueID == CSSValueRelative || valueID == CSSValueAbsolute || valueID == CSSValueFixed || valueID == CSSValueWebkitSticky; 630 return valueID == CSSValueStatic 631 || valueID == CSSValueRelative 632 || valueID == CSSValueAbsolute 633 || valueID == CSSValueFixed 634 || valueID == CSSValueSticky || valueID == CSSValueWebkitSticky; 631 635 case CSSPropertyResize: // none | both | horizontal | vertical | auto 632 636 return valueID == CSSValueNone || valueID == CSSValueBoth || valueID == CSSValueHorizontal || valueID == CSSValueVertical || valueID == CSSValueAuto; -
trunk/Source/WebCore/editing/EditingStyle.cpp
r243163 r244353 1390 1390 1391 1391 auto& cssValuePool = CSSValuePool::singleton(); 1392 RefPtr<CSSPrimitiveValue> sticky = cssValuePool.createIdentifierValue(CSSValue WebkitSticky);1392 RefPtr<CSSPrimitiveValue> sticky = cssValuePool.createIdentifierValue(CSSValueSticky); 1393 1393 if (m_mutableStyle->propertyMatches(CSSPropertyPosition, sticky.get())) { 1394 1394 m_mutableStyle->setProperty(CSSPropertyPosition, cssValuePool.createIdentifierValue(CSSValueStatic), m_mutableStyle->propertyIsImportant(CSSPropertyPosition)); -
trunk/Source/WebInspectorUI/ChangeLog
r244351 r244353 1 2019-04-16 Devin Rousso <drousso@apple.com> 2 3 Unprefix -webkit-sticky 4 https://bugs.webkit.org/show_bug.cgi?id=196962 5 <rdar://problem/40903458> 6 7 Reviewed by Simon Fraser. 8 9 Replace all `-webkit-sticky` with `sticky`. 10 11 * UserInterface/Models/CSSKeywordCompletions.js: 12 * UserInterface/Views/AuditTestCaseContentView.css: 13 (.content-view-container > .content-view.audit-test-case > header): 14 * UserInterface/Views/AuditTestGroupContentView.css: 15 (.content-view.audit-test-group.contains-test-case > header): 16 * UserInterface/Views/ChangesDetailsSidebarPanel.css: 17 (.changes-panel .resource-section > .header): 18 * UserInterface/Views/DetailsSection.css: 19 (.details-section > .header): 20 * UserInterface/Views/NetworkDetailView.css: 21 (.network-detail .navigation-bar): 22 * UserInterface/Views/SettingsTabContentView.css: 23 (.content-view.settings .navigation-bar): 24 * UserInterface/Views/Table.css: 25 (.table > .header): 26 1 27 2019-04-16 Devin Rousso <drousso@apple.com> 2 28 -
trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
r243819 r244353 1133 1133 ], 1134 1134 "position": [ 1135 "absolute", "fixed", "relative", "static", " -webkit-sticky",1135 "absolute", "fixed", "relative", "static", "sticky", "-webkit-sticky", 1136 1136 ], 1137 1137 "resize": [ -
trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.css
r238333 r244353 25 25 26 26 .content-view-container > .content-view.audit-test-case > header { 27 position: -webkit-sticky;27 position: sticky; 28 28 top: -1px; 29 29 z-index: var(--z-index-header); -
trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestGroupContentView.css
r242604 r244353 44 44 45 45 .content-view.audit-test-group.contains-test-case > header { 46 position: -webkit-sticky;46 position: sticky; 47 47 top: -1px; 48 48 z-index: var(--z-index-header); -
trunk/Source/WebInspectorUI/UserInterface/Views/ChangesDetailsSidebarPanel.css
r243038 r244353 52 52 53 53 .changes-panel .resource-section > .header { 54 position: -webkit-sticky;54 position: sticky; 55 55 top: 0; 56 56 z-index: var(--z-index-header); -
trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.css
r243180 r244353 44 44 45 45 .details-section > .header { 46 position: -webkit-sticky;46 position: sticky; 47 47 top: -1px; 48 48 height: 23px; -
trunk/Source/WebInspectorUI/UserInterface/Views/NetworkDetailView.css
r242118 r244353 36 36 37 37 .network-detail .navigation-bar { 38 position: -webkit-sticky;38 position: sticky; 39 39 top: 0; 40 40 z-index: 1; -
trunk/Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.css
r242768 r244353 31 31 32 32 .content-view.settings .navigation-bar { 33 position: -webkit-sticky;33 position: sticky; 34 34 top: 0; 35 35 z-index: 1; -
trunk/Source/WebInspectorUI/UserInterface/Views/Table.css
r239760 r244353 36 36 37 37 .table > .header { 38 position: -webkit-sticky;38 position: sticky; 39 39 top: 0; 40 40 height: var(--navigation-bar-height);
Note: See TracChangeset
for help on using the changeset viewer.