WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 41319
Implement HTMLTreeBuilder::reconstructTheActiveFormattingElements
https://bugs.webkit.org/show_bug.cgi?id=41319
Summary
Implement HTMLTreeBuilder::reconstructTheActiveFormattingElements
Eric Seidel (no email)
Reported
2010-06-28 17:05:53 PDT
Implement HTMLTreeBuilder::reconstructTheActiveFormattingElements
Attachments
Patch
(4.98 KB, patch)
2010-06-28 17:08 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Patch
(7.90 KB, patch)
2010-06-28 18:11 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Patch
(4.04 KB, patch)
2010-06-28 21:26 PDT
,
Eric Seidel (no email)
abarth
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2010-06-28 17:08:35 PDT
Created
attachment 59960
[details]
Patch
Adam Barth
Comment 2
2010-06-28 17:20:18 PDT
Comment on
attachment 59960
[details]
Patch I'd rather this patch had tests. If you wait 15 minutes, we'll have the harness landed... WebCore/html/HTMLTreeBuilder.cpp:870 + // Spec: Possible active formatting elements include: I'd remove the word "spec" here. WebCore/html/HTMLTreeBuilder.cpp:926 + for (; previousEntryIndex > 0; previousEntryIndex--) { Can we make this a while or a function that returns the answer? Also, predecrement! WebCore/html/HTMLTreeBuilder.cpp:932 + for (unsigned unopenEntryIndex = previousEntryIndex + 1; unopenEntryIndex < m_activeFormattingElements.size(); ++unopenEntryIndex) { Can we assert that previousEntryIndex is not the last guy in the list? WebCore/html/HTMLTreeBuilder.h:155 + bool contains(Element* element) We're going to need a cache here eventually. WebCore/html/HTMLTreeBuilder.h:257 + }; Blank line below this line.
Eric Seidel (no email)
Comment 3
2010-06-28 18:11:11 PDT
Created
attachment 59967
[details]
Patch
Adam Barth
Comment 4
2010-06-28 18:22:23 PDT
Comment on
attachment 59967
[details]
Patch WebCore/html/HTMLTreeBuilder.h:217 + PassRefPtr<Element> createElement(AtomicHTMLToken&); I would have put a blank line here to paragraph these.
WebKit Commit Bot
Comment 5
2010-06-28 19:52:44 PDT
Comment on
attachment 59967
[details]
Patch Clearing flags on attachment: 59967 Committed
r62077
: <
http://trac.webkit.org/changeset/62077
>
WebKit Commit Bot
Comment 6
2010-06-28 19:52:48 PDT
All reviewed patches have been landed. Closing bug.
Daniel Bates
Comment 7
2010-06-28 20:23:11 PDT
This broke the Windows Release and Debug build bots. For completeness: Windows Release Stdio: <
http://build.webkit.org/builders/Windows%20Release%20%28Build%29/builds/1051/steps/compile-webkit/logs/stdio
> Windows Debug Stdio: <
http://build.webkit.org/builders/Windows%20Debug%20%28Build%29/builds/18218/steps/compile-webkit/logs/stdio
>
Daniel Bates
Comment 8
2010-06-28 20:34:48 PDT
Landed attempt to fix the build in change-set 62080 <
https://trac.webkit.org/changeset/62080
>.
WebKit Review Bot
Comment 9
2010-06-28 21:13:15 PDT
http://trac.webkit.org/changeset/62080
might have broken Chromium Mac Release
Eric Seidel (no email)
Comment 10
2010-06-28 21:26:34 PDT
Created
attachment 59981
[details]
Patch
Adam Barth
Comment 11
2010-06-28 21:30:15 PDT
Comment on
attachment 59981
[details]
Patch I don't love it. I'd rather have iterators, but ok.
Eric Seidel (no email)
Comment 12
2010-06-28 21:36:19 PDT
Committed
r62082
: <
http://trac.webkit.org/changeset/62082
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug