Bug 41402 - Implement HTML5 "in scope" algorithm and attempt to use it
Summary: Implement HTML5 "in scope" algorithm and attempt to use it
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on: 41399
Blocks: 41123
  Show dependency treegraph
 
Reported: 2010-06-30 04:10 PDT by Eric Seidel (no email)
Modified: 2010-06-30 13:36 PDT (History)
4 users (show)

See Also:


Attachments
Patch (8.14 KB, patch)
2010-06-30 04:14 PDT, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff
Patch (9.70 KB, patch)
2010-06-30 04:43 PDT, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2010-06-30 04:10:38 PDT
Implement HTML5 "in scope" algorithm and attempt to use it
Comment 1 Eric Seidel (no email) 2010-06-30 04:14:14 PDT
Created attachment 60107 [details]
Patch
Comment 2 Eric Seidel (no email) 2010-06-30 04:17:20 PDT
Comment on attachment 60107 [details]
Patch

Nevermind.  This causes a test failure.  I'll look at this more tomorrow.
Comment 3 Eric Seidel (no email) 2010-06-30 04:43:44 PDT
Created attachment 60109 [details]
Patch
Comment 4 Adam Barth 2010-06-30 12:38:16 PDT
Comment on attachment 60109 [details]
Patch

WebCore/html/HTMLElementStack.cpp:36
 +  using namespace HTMLNames;
Ah, i see you have it now :)

WebCore/html/HTMLElementStack.cpp:186
 +          if (isMarker(element))
We might want to store these bits in the ElementRecord instead of testing each time, depending on how expensive these branches end up being.
Comment 5 WebKit Commit Bot 2010-06-30 13:03:03 PDT
Comment on attachment 60109 [details]
Patch

Clearing flags on attachment: 60109

Committed r62196: <http://trac.webkit.org/changeset/62196>
Comment 6 WebKit Commit Bot 2010-06-30 13:03:08 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 WebKit Review Bot 2010-06-30 13:09:47 PDT
http://trac.webkit.org/changeset/62196 might have broken Qt Linux Release minimal
Comment 8 Eric Seidel (no email) 2010-06-30 13:36:24 PDT
(In reply to comment #4)
> (From update of attachment 60109 [details])
> WebCore/html/HTMLElementStack.cpp:36
>  +  using namespace HTMLNames;
> Ah, i see you have it now :)
> 
> WebCore/html/HTMLElementStack.cpp:186
>  +          if (isMarker(element))
> We might want to store these bits in the ElementRecord instead of testing each time, depending on how expensive these branches end up being.

I think that's an excellent idea!