Title: [158710] trunk/LayoutTests
- Revision
- 158710
- Author
- [email protected]
- Date
- 2013-11-05 18:40:07 -0800 (Tue, 05 Nov 2013)
Log Message
Add a test to obtain offsetWidth of expanded table cell
https://bugs.webkit.org/show_bug.cgi?id=123843
Reviewed by Tim Horton.
Merge the test from https://chromium.googlesource.com/chromium/blink/+/58a5fac292a5b3f79b00cdc71074fbf8be2ebc2b
so that we'll never introduce the regression they had.
* fast/table/table-cell-offset-width-expected.txt: Added.
* fast/table/table-cell-offset-width.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (158709 => 158710)
--- trunk/LayoutTests/ChangeLog 2013-11-06 02:39:39 UTC (rev 158709)
+++ trunk/LayoutTests/ChangeLog 2013-11-06 02:40:07 UTC (rev 158710)
@@ -1,3 +1,16 @@
+2013-11-05 Ryosuke Niwa <[email protected]>
+
+ Add a test to obtain offsetWidth of expanded table cell
+ https://bugs.webkit.org/show_bug.cgi?id=123843
+
+ Reviewed by Tim Horton.
+
+ Merge the test from https://chromium.googlesource.com/chromium/blink/+/58a5fac292a5b3f79b00cdc71074fbf8be2ebc2b
+ so that we'll never introduce the regression they had.
+
+ * fast/table/table-cell-offset-width-expected.txt: Added.
+ * fast/table/table-cell-offset-width.html: Added.
+
2013-11-05 Alexandru Chiculita <[email protected]>
Web Inspector: Moving an element while in the DOMNodeRemoved handler will hide it in the inspector
Added: trunk/LayoutTests/fast/table/table-cell-offset-width-expected.txt (0 => 158710)
--- trunk/LayoutTests/fast/table/table-cell-offset-width-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/table/table-cell-offset-width-expected.txt 2013-11-06 02:40:07 UTC (rev 158710)
@@ -0,0 +1,3 @@
+This tests obtaining the offsetWidth of a layout-dependent table cell.
+The td with width set to 5px should be expanded to have the wider width:
+10px
Added: trunk/LayoutTests/fast/table/table-cell-offset-width.html (0 => 158710)
--- trunk/LayoutTests/fast/table/table-cell-offset-width.html (rev 0)
+++ trunk/LayoutTests/fast/table/table-cell-offset-width.html 2013-11-06 02:40:07 UTC (rev 158710)
@@ -0,0 +1,9 @@
+<table><td style="font: Ahem; width: 5px">x</td></table>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+var width = document.getElementsByTagName('td')[0].offsetWidth;
+document.body.innerText = 'This tests obtaining the offsetWidth of a layout-dependent table cell.\n'
+ + 'The td with width set to 5px should be expanded to have the wider width:\n'
+ + width + 'px';
+</script>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes