esrille / escudo

The Escudo Web Browser
Apache License 2.0
68 stars 13 forks source link

[HTML] Reflect event handler content attributes in IDL attributes #4

Closed ShikiOkasaka closed 11 years ago

ShikiOkasaka commented 11 years ago

cf. http://www.w3.org/TR/2012/CR-html5-20121217/infrastructure.html#reflecting-content-attributes-in-idl-attributes

Initial content attributes are set to each element in HTMLParser::insertHtmlElement(), which is the right timing to reflect the them in IDL attributes.

ShikiOkasaka commented 11 years ago

Note NodeImp::evalTree() is called from WindowImp::poll() too late, which does not synchronize with the script executions.

ShikiOkasaka commented 11 years ago

Step 1: Content attributes for event handlers in HTMLElement at 9b1f3885220eeeb3bc8f0a7c31be41aae7cd7382

ShikiOkasaka commented 11 years ago

Step 2: Content attributes for event handlers in body and marquee at 2fe773450cd5edbb892e069a1a9d3bcf3af7e8bf