haikuwebkit/LayoutTests/svg/text/select-text-inside-non-stat...

28 lines
542 B
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html>
<head>
<style>
* {
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: Canonical link: https://commits.webkit.org/211240@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-04-16 19:48:37 +00:00
position: sticky;
-webkit-transform: scaleX(2);
}
</style>
</head>
<body>
<p id="description">This tests selecting text inside a non-statically positioned SVG content. WebKit should not hit assertions.</p>
<svg style="width: 50px; height: 50px; border: 1px solid black;">
<text>svg text</text>
</svg>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.execCommand("SelectAll");
document.querySelector('style').remove();
document.write('PASS');
</script>
</body>
</html>