Title: [102415] trunk/LayoutTests
- Revision
- 102415
- Author
- [email protected]
- Date
- 2011-12-08 18:38:37 -0800 (Thu, 08 Dec 2011)
Log Message
Add test for inline style block in HTML tag
https://bugs.webkit.org/show_bug.cgi?id=72360
Patch by Szilard Ledan <[email protected]> on 2011-12-08
Reviewed by Darin Adler.
* fast/css/parsing-css-block-expected.txt: Added.
* fast/css/parsing-css-block.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (102414 => 102415)
--- trunk/LayoutTests/ChangeLog 2011-12-09 02:32:14 UTC (rev 102414)
+++ trunk/LayoutTests/ChangeLog 2011-12-09 02:38:37 UTC (rev 102415)
@@ -1,3 +1,13 @@
+2011-12-08 Szilard Ledan <[email protected]>
+
+ Add test for inline style block in HTML tag
+ https://bugs.webkit.org/show_bug.cgi?id=72360
+
+ Reviewed by Darin Adler.
+
+ * fast/css/parsing-css-block-expected.txt: Added.
+ * fast/css/parsing-css-block.html: Added.
+
2011-12-08 Sheriff Bot <[email protected]>
Unreviewed, rolling out r102396.
Added: trunk/LayoutTests/fast/css/parsing-css-block-expected.txt (0 => 102415)
--- trunk/LayoutTests/fast/css/parsing-css-block-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/css/parsing-css-block-expected.txt 2011-12-09 02:38:37 UTC (rev 102415)
@@ -0,0 +1,17 @@
+Test parsing of CSS curly brackets block
+
+FAILURE
+
+Rules from the stylesheet:
+
+Font size is 16px.
+
+
+
+Expected result:
+
+Font size is 16px.
+
+
+
+
Added: trunk/LayoutTests/fast/css/parsing-css-block.html (0 => 102415)
--- trunk/LayoutTests/fast/css/parsing-css-block.html (rev 0)
+++ trunk/LayoutTests/fast/css/parsing-css-block.html 2011-12-09 02:38:37 UTC (rev 102415)
@@ -0,0 +1,47 @@
+<head>
+<style>
+
+/* Base form of the rule: */
+</style>
+
+<script>
+
+function runTest()
+{
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ if (document.getElementById("result").firstChild.style.fontSize === document.getElementById("expected").firstChild.style.fontSize)
+ document.getElementById("message").firstChild.data = ""
+ else
+ document.getElementById("message").firstChild.data = ""
+}
+
+</script>
+
+</head>
+
+<body _onload_="runTest()">
+
+<p>Test parsing of CSS curly brackets block</p>
+
+<p id="message">TEST DID NOT COMPLETE</p>
+
+<p>Rules from the stylesheet:</p>
+
+<pre id="result">
+<p style="{font-size: 16px;}">Font size is 16px.</p>
+
+</pre>
+
+<p>Expected result:</p>
+
+<pre id="expected">
+<p style="font-size: 16px;">Font size is 16px.</p>
+
+</pre>
+
+<script>
+
+</script>
+</body>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes