RESOLVED FIXED 72360
Add test for inline style block in HTML tag
https://bugs.webkit.org/show_bug.cgi?id=72360
Summary Add test for inline style block in HTML tag
Szilard Ledan
Reported 2011-11-15 00:44:57 PST
I found a bug. The CSS lexer doesn't recognize a legal statement. Example: CSS 2.1 spec.: <a style="{...}">...<\a>, it's a legal form, but the CSS parser doesn't work right.
Attachments
patch (2.90 KB, patch)
2011-11-15 01:43 PST, Szilard Ledan
darin: review-
updated patch (2.91 KB, patch)
2011-11-16 23:49 PST, Szilard Ledan
no flags
Szilard Ledan
Comment 1 2011-11-15 01:43:05 PST
Darin Adler
Comment 2 2011-11-15 10:22:17 PST
Comment on attachment 115123 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=115123&action=review > LayoutTests/fast/css/parsing-css-block.html:26 > +<p>Test parsing of CSS squar-braces block</p> What are squar-brances? > LayoutTests/fast/css/parsing-css-block.html:33 > +<p style="{font-size: 16px;}">Font size is 16px.</p> These {} are called curly brackets or curly braces.
Szilard Ledan
Comment 3 2011-11-16 23:46:58 PST
(In reply to comment #2) > These {} are called curly brackets or curly braces. Thank you! I will fix it.
Szilard Ledan
Comment 4 2011-11-16 23:49:41 PST
Created attachment 115534 [details] updated patch
WebKit Review Bot
Comment 5 2011-12-08 18:38:56 PST
Comment on attachment 115534 [details] updated patch Clearing flags on attachment: 115534 Committed r102415: <http://trac.webkit.org/changeset/102415>
WebKit Review Bot
Comment 6 2011-12-08 18:39:15 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.