[Webkit-unassigned] [Bug 38697] REGRESSION (r58299): Replying on reddit.com no longer works

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 6 16:35:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38697





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2010-05-06 16:35:09 PST ---
I think that this goes both ways. The new first, left and right classes are
allowed outside @page rules, but also, other classes are allowed inside page
rules, but they shouldn't. 

Correct (from the spec):

page :
       PAGE_SYM S* IDENT? pseudo_page? S* 
       '{' S* [ declaration | margin ]? [ ';' S* [ declaration | margin ]? ]*
'}' S*
       ;

pseudo_page :
       ':' [ "left" | "right" | "first" ]
       ;

Wrong (CSSGrammar.y):

page:
    PAGE_SYM maybe_space page_selector maybe_space
...
page_selector:
    IDENT {
...
    | IDENT pseudo {
...
    | pseudo {
...
    | /* empty */ {

Note that any pseudo is allowed in page rules by the grammar here, not just
pseudo_page.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list