Unprefix -webkit-sticky
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2019 19:48:37 +0000 (19:48 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2019 19:48:37 +0000 (19:48 +0000)
commitd4b9bcc1efd8adc5f143e1b850354dfb9101ac73
treeebced39311bcd1edb302633077cf19f93820a9fb
parenteecc3042b1e5c90269d2186a788b71db68f58736
Unprefix -webkit-sticky
https://bugs.webkit.org/show_bug.cgi?id=196962
<rdar://problem/40903458>

Reviewed by Simon Fraser.

Source/WebCore:

Updated existing tests.

This change doesn't modify functionality, only exposing a new unprefixed CSS value.

* css/CSSProperties.json:
* css/CSSValueKeywords.in:

* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator PositionType const):

* css/parser/CSSParserFastPaths.cpp:
(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):

* editing/EditingStyle.cpp:
(WebCore::EditingStyle::convertPositionStyle):

Source/WebInspectorUI:

Replace all `-webkit-sticky` with `sticky`.

* UserInterface/Models/CSSKeywordCompletions.js:
* UserInterface/Views/AuditTestCaseContentView.css:
(.content-view-container > .content-view.audit-test-case > header):
* UserInterface/Views/AuditTestGroupContentView.css:
(.content-view.audit-test-group.contains-test-case > header):
* UserInterface/Views/ChangesDetailsSidebarPanel.css:
(.changes-panel .resource-section > .header):
* UserInterface/Views/DetailsSection.css:
(.details-section > .header):
* UserInterface/Views/NetworkDetailView.css:
(.network-detail .navigation-bar):
* UserInterface/Views/SettingsTabContentView.css:
(.content-view.settings .navigation-bar):
* UserInterface/Views/Table.css:
(.table > .header):

LayoutTests:

* compositing/layer-creation/no-compositing-for-sticky.html:
* editing/pasteboard/copy-paste-converts-sticky.html:
* editing/pasteboard/copy-paste-converts-sticky-expected.txt:
* fast/block/positioning/fixed-container-with-sticky-parent.html:
* fast/block/sticky-position-containing-block-crash.html:
* fast/css/sticky/inflow-sticky.html:
* fast/css/sticky/inline-sticky-abspos-child.html:
* fast/css/sticky/inline-sticky.html:
* fast/css/sticky/multiple-layers-sticky-crash.html:
* fast/css/sticky/parsing-position-sticky-expected.txt:
* fast/css/sticky/remove-inline-sticky-crash.html:
* fast/css/sticky/remove-sticky-crash.html:
* fast/css/sticky/replaced-sticky.html:
* fast/css/sticky/resources/parsing-position-sticky.js:
* fast/css/sticky/sticky-as-positioning-container.html:
* fast/css/sticky/sticky-both-sides.html:
* fast/css/sticky/sticky-bottom-overflow-padding.html:
* fast/css/sticky/sticky-left-percentage.html:
* fast/css/sticky/sticky-left.html:
* fast/css/sticky/sticky-margins.html:
* fast/css/sticky/sticky-overflowing.html:
* fast/css/sticky/sticky-side-margins.html:
* fast/css/sticky/sticky-stacking-context.html:
* fast/css/sticky/sticky-stacking-context-expected.html:
* fast/css/sticky/sticky-table-row-top.html:
* fast/css/sticky/sticky-table-thead-top.html:
* fast/css/sticky/sticky-top-margins.html:
* fast/css/sticky/sticky-top-overflow-container-overflow.html:
* fast/css/sticky/sticky-top-overflow.html:
* fast/css/sticky/sticky-top-zoomed.html:
* fast/css/sticky/sticky-top-zoomed-expected.html:
* fast/css/sticky/sticky-top.html:
* fast/css/sticky/sticky-writing-mode-horizontal-bt.html:
* fast/css/sticky/sticky-writing-mode-vertical-lr.html:
* fast/css/sticky/sticky-writing-mode-vertical-rl.html:
* fast/multicol/newmulticol/table-section-crash.html:
* fast/scrolling/ios/reconcile-layer-position-recursive.html:
* fast/scrolling/rtl-scrollbars-sticky-document-2.html:
* fast/scrolling/rtl-scrollbars-sticky-document.html:
* fast/scrolling/rtl-scrollbars-sticky-iframe-2.html:
* fast/scrolling/rtl-scrollbars-sticky-iframe.html:
* fast/scrolling/rtl-scrollbars-sticky-overflow-scroll-2.html:
* fast/scrolling/rtl-scrollbars-sticky-overflow-scroll.html:
* fast/scrolling/sticky-to-fixed.html:
* legacy-animation-engine/fast/multicol/newmulticol/table-section-crash.html:
* scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html:
* svg/text/select-text-inside-non-static-position.html:
* tiled-drawing/scrolling/sticky/negative-scroll-offset.html:
* tiled-drawing/scrolling/sticky/sticky-horizontal.html:
* tiled-drawing/scrolling/sticky/sticky-layers.html:
* tiled-drawing/scrolling/sticky/sticky-vertical.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
67 files changed:
LayoutTests/ChangeLog
LayoutTests/compositing/layer-creation/no-compositing-for-sticky.html
LayoutTests/editing/pasteboard/copy-paste-converts-sticky-expected.txt
LayoutTests/editing/pasteboard/copy-paste-converts-sticky.html
LayoutTests/fast/block/positioning/fixed-container-with-sticky-parent.html
LayoutTests/fast/block/sticky-position-containing-block-crash.html
LayoutTests/fast/css/sticky/inflow-sticky.html
LayoutTests/fast/css/sticky/inline-sticky-abspos-child.html
LayoutTests/fast/css/sticky/inline-sticky.html
LayoutTests/fast/css/sticky/multiple-layers-sticky-crash.html
LayoutTests/fast/css/sticky/parsing-position-sticky-expected.txt
LayoutTests/fast/css/sticky/remove-inline-sticky-crash.html
LayoutTests/fast/css/sticky/remove-sticky-crash.html
LayoutTests/fast/css/sticky/replaced-sticky.html
LayoutTests/fast/css/sticky/resources/parsing-position-sticky.js
LayoutTests/fast/css/sticky/sticky-as-positioning-container.html
LayoutTests/fast/css/sticky/sticky-both-sides.html
LayoutTests/fast/css/sticky/sticky-bottom-overflow-padding.html
LayoutTests/fast/css/sticky/sticky-left-percentage.html
LayoutTests/fast/css/sticky/sticky-left.html
LayoutTests/fast/css/sticky/sticky-margins.html
LayoutTests/fast/css/sticky/sticky-overflowing.html
LayoutTests/fast/css/sticky/sticky-side-margins.html
LayoutTests/fast/css/sticky/sticky-stacking-context-expected.html
LayoutTests/fast/css/sticky/sticky-stacking-context.html
LayoutTests/fast/css/sticky/sticky-table-row-top.html
LayoutTests/fast/css/sticky/sticky-table-thead-top.html
LayoutTests/fast/css/sticky/sticky-top-margins.html
LayoutTests/fast/css/sticky/sticky-top-overflow-container-overflow.html
LayoutTests/fast/css/sticky/sticky-top-overflow.html
LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.html
LayoutTests/fast/css/sticky/sticky-top-zoomed.html
LayoutTests/fast/css/sticky/sticky-top.html
LayoutTests/fast/css/sticky/sticky-writing-mode-horizontal-bt.html
LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-lr.html
LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-rl.html
LayoutTests/fast/multicol/newmulticol/table-section-crash.html
LayoutTests/fast/scrolling/ios/reconcile-layer-position-recursive.html
LayoutTests/fast/scrolling/rtl-scrollbars-sticky-document-2.html
LayoutTests/fast/scrolling/rtl-scrollbars-sticky-document.html
LayoutTests/fast/scrolling/rtl-scrollbars-sticky-iframe-2.html
LayoutTests/fast/scrolling/rtl-scrollbars-sticky-iframe.html
LayoutTests/fast/scrolling/rtl-scrollbars-sticky-overflow-scroll-2.html
LayoutTests/fast/scrolling/rtl-scrollbars-sticky-overflow-scroll.html
LayoutTests/fast/scrolling/sticky-to-fixed.html
LayoutTests/legacy-animation-engine/fast/multicol/newmulticol/table-section-crash.html
LayoutTests/scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html
LayoutTests/svg/text/select-text-inside-non-static-position.html
LayoutTests/tiled-drawing/scrolling/sticky/negative-scroll-offset.html
LayoutTests/tiled-drawing/scrolling/sticky/sticky-horizontal.html
LayoutTests/tiled-drawing/scrolling/sticky/sticky-layers.html
LayoutTests/tiled-drawing/scrolling/sticky/sticky-vertical.html
Source/WebCore/ChangeLog
Source/WebCore/css/CSSPrimitiveValueMappings.h
Source/WebCore/css/CSSProperties.json
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/parser/CSSParserFastPaths.cpp
Source/WebCore/editing/EditingStyle.cpp
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.css
Source/WebInspectorUI/UserInterface/Views/AuditTestGroupContentView.css
Source/WebInspectorUI/UserInterface/Views/ChangesDetailsSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/DetailsSection.css
Source/WebInspectorUI/UserInterface/Views/NetworkDetailView.css
Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.css
Source/WebInspectorUI/UserInterface/Views/Table.css