Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: LayoutTests/fast/regions/selection/selecting-text-ignoring-region-expected.html

Issue 34863002: [CSS Regions] Layout Test for selecting text ignoring region content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/regions/selection/selecting-text-ignoring-region-expected.html
diff --git a/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-expected.html b/LayoutTests/fast/regions/selection/selecting-text-ignoring-region-expected.html
similarity index 59%
copy from LayoutTests/fast/regions/selection/selecting-text-in-2-regions-expected.html
copy to LayoutTests/fast/regions/selection/selecting-text-ignoring-region-expected.html
index 8788f76f56739576f9e5b04aba0d15715412cc63..eb32026a9130edbc10b95fab8043c6b917dbc207 100644
--- a/LayoutTests/fast/regions/selection/selecting-text-in-2-regions-expected.html
+++ b/LayoutTests/fast/regions/selection/selecting-text-ignoring-region-expected.html
@@ -4,17 +4,17 @@
<script src="../resources/helper.js"></script>
<link rel="stylesheet" href="../resources/region-style.css"></link>
<style>
- #region-1 {
+ #outside-1 {
position: absolute;
top: 0px;
}
- #region-2 {
+ #outside-2 {
position: absolute;
top: 200px;
}
- #outside {
+ #region {
position: absolute;
top: 100px;
}
@@ -29,23 +29,23 @@
</script>
</head>
<body onload="selectContentByIds('word1', 'word2');" style="margin-top: 0;">
- <div id="region-1" class="greyBigBox">
+ <div id="region" class="greyBigBox">
inside region inside region inside region inside region
- <span id="word1" class="token">word1</span>
inside region inside region inside region inside region
</div>
- <div id="region-2" class="greyBigBox">
- inside region inside region inside region inside region
- <span id="word2" class="token">word2</span>
- inside region inside region inside region inside region
+ <div id="outside-1" class="bigBox">
+ outside region outside region outside region outside region
+ <span id="word1" class="token">word1</span>
+ outside region outside region outside region outside region
</div>
- <div id="outside" class="bigBox">
+ <div id="outside-2" class="bigBox">
outside region outside region outside region outside region
+ <span id="word2" class="token">word2</span>
outside region outside region outside region outside region
</div>
<div id="description" class="description">
- <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=121841">Bug #121841 - [CSS Regions] Layout Test for selecting text in 2 regions</a></h1>
- <p>This test checks the selection in 2 regions. If you select from <span class="token">word1</span> to <span class="token">word2</span> you will see that "outside region" text is not highlighted and not included in the selected content.</p>
+ <h1><a href="https://bugs.webkit.org/show_bug.cgi?id=122353">Bug #122353 - [CSS Regions] Layout Test for selecting text ignoring region content</a></h1>
+ <p>This test checks the selection in 2 text wrapping a region. If you select from <span class="token">word1</span> to <span class="token">word2</span> you will see that "inside region" text is not highlighted and not included in the selected content (because of the content of the region is before the "outside region" element in the DOM).</p>
<dl>
<dt>Selected content:</dt>
<dd id="selected-content"></dd>

Powered by Google App Engine
This is Rietveld 408576698