Bug 72360

Summary: Add test for inline style block in HTML tag
Product: WebKit Reporter: Szilard Ledan <szledan>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, webkit.review.bot, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 74148, 69083    
Attachments:
Description Flags
patch
darin: review-
updated patch none

Description Szilard Ledan 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.
Comment 1 Szilard Ledan 2011-11-15 01:43:05 PST
Created attachment 115123 [details]
patch
Comment 2 Darin Adler 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.
Comment 3 Szilard Ledan 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.
Comment 4 Szilard Ledan 2011-11-16 23:49:41 PST
Created attachment 115534 [details]
updated patch
Comment 5 WebKit Review Bot 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>
Comment 6 WebKit Review Bot 2011-12-08 18:39:15 PST
All reviewed patches have been landed.  Closing bug.