Skip to content
Permalink
Browse files
[Templates]: Fix assert in colgroup parse handling
https://bugs.webkit.org/show_bug.cgi?id=105837

Reviewed by Eric Seidel.

Source/WebCore:

Tests added to html5lib.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTag):

LayoutTests:

* html5lib/resources/template.dat:


Canonical link: https://commits.webkit.org/124030@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@138546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
rafaelw committed Dec 28, 2012
1 parent 82a881a commit afa3c88ad39b089b35ec69c10065b53fc7756c97
Showing 4 changed files with 44 additions and 1 deletion.
@@ -1,3 +1,12 @@
2012-12-28 Rafael Weinstein <rafaelw@chromium.org>

[Templates]: Fix assert in colgroup parse handling
https://bugs.webkit.org/show_bug.cgi?id=105837

Reviewed by Eric Seidel.

* html5lib/resources/template.dat:

2012-12-27 Emil A Eklund <eae@chromium.org>

REGRESSION (r138196): Regions with text-overflow: ellipsis; are being ellipsized unnecessarily
@@ -887,6 +887,17 @@
| #document-fragment
| <col>

#data
<body><template><col></colgroup>
#errors
#document
| <html>
| <head>
| <body>
| <template>
| #document-fragment
| <col>

#data
<body><template><col><colgroup></template></body>
#errors
@@ -909,6 +920,17 @@
| #document-fragment
| <col>

#data
<body><template><col></div>
#errors
#document
| <html>
| <head>
| <body>
| <template>
| #document-fragment
| <col>

#data
<body><template><col>Hello
#errors
@@ -1,3 +1,15 @@
2012-12-28 Rafael Weinstein <rafaelw@chromium.org>

[Templates]: Fix assert in colgroup parse handling
https://bugs.webkit.org/show_bug.cgi?id=105837

Reviewed by Eric Seidel.

Tests added to html5lib.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTag):

2012-12-28 Philippe Normand <pnormand@igalia.com>

[GStreamer] GstMessage handler in AudioDestination
@@ -2118,7 +2118,7 @@ void HTMLTreeBuilder::processEndTag(AtomicHTMLToken* token)
}
#endif
if (!processColgroupEndTagForInColumnGroup()) {
ASSERT(isParsingFragment());
ASSERT(isParsingFragmentOrTemplateContents());
return;
}
processEndTag(token);

0 comments on commit afa3c88

Please sign in to comment.