[Webkit-unassigned] [Bug 20029] [XBL] Add more tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 18 12:58:49 PDT 2008


------- Comment #13 from hyatt at apple.com  2008-07-18 12:58 PDT -------
(In reply to comment #11)
> (From update of attachment 22341 [edit])
> xblCustomMappings shouldn't be needed.  HTML will need this too.  This should
> just be a property of the tag in the .in file.
> Also, I don't think you need a comment about <div> in the XBLElement header. 
> XBLElements probably want to be StyledElements anyway.  I mean, it's also
> possible to just create an empty XBLDivElement, despite hyatt's suggestions to
> the contrary.  The cost in terms of code and binary size are negligible.

XBLElements should not be StyledElements.  XBL is not a language that responds
to inline style or to the class attribute, so you would create bugs by
inheriting from StyledElement.  I will double-check this with Hixie, but I'm
pretty sure the XBL div does not support class or style attributes.

I also disagree with making XBLDivElement.  There is absolutely no reason to
need that class.  Why generate it?  We should not make classes for elements
that don't need them.

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

More information about the webkit-unassigned mailing list