mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 595643 - Make space characters reconstruct active formatting elements when frameset-ok is OK. rs=jonas, a=blocking2.0-betaN.
This commit is contained in:
parent
212a2f8dfc
commit
532db120d1
@ -893,7 +893,6 @@ public abstract class TreeBuilder<T> implements TokenHandler,
|
||||
*/
|
||||
start = i + 1;
|
||||
continue;
|
||||
case FRAMESET_OK:
|
||||
case IN_HEAD:
|
||||
case IN_HEAD_NOSCRIPT:
|
||||
case AFTER_HEAD:
|
||||
@ -904,10 +903,10 @@ public abstract class TreeBuilder<T> implements TokenHandler,
|
||||
* Append the character to the current node.
|
||||
*/
|
||||
continue;
|
||||
case FRAMESET_OK:
|
||||
case IN_BODY:
|
||||
case IN_CELL:
|
||||
case IN_CAPTION:
|
||||
// XXX is this dead code?
|
||||
if (start < i) {
|
||||
accumulateCharacters(buf, start, i
|
||||
- start);
|
||||
|
@ -227,7 +227,6 @@ nsHtml5TreeBuilder::characters(const PRUnichar* buf, PRInt32 start, PRInt32 leng
|
||||
start = i + 1;
|
||||
continue;
|
||||
}
|
||||
case NS_HTML5TREE_BUILDER_FRAMESET_OK:
|
||||
case NS_HTML5TREE_BUILDER_IN_HEAD:
|
||||
case NS_HTML5TREE_BUILDER_IN_HEAD_NOSCRIPT:
|
||||
case NS_HTML5TREE_BUILDER_AFTER_HEAD:
|
||||
@ -236,6 +235,7 @@ nsHtml5TreeBuilder::characters(const PRUnichar* buf, PRInt32 start, PRInt32 leng
|
||||
case NS_HTML5TREE_BUILDER_AFTER_FRAMESET: {
|
||||
continue;
|
||||
}
|
||||
case NS_HTML5TREE_BUILDER_FRAMESET_OK:
|
||||
case NS_HTML5TREE_BUILDER_IN_BODY:
|
||||
case NS_HTML5TREE_BUILDER_IN_CELL:
|
||||
case NS_HTML5TREE_BUILDER_IN_CAPTION: {
|
||||
|
Loading…
Reference in New Issue
Block a user