From 5a3308e83805af678b83dcdd5e9976fa5cf41395 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 20 Jan 2009 14:42:25 -0500 Subject: [PATCH] Bug 474417. support broken. r+sr=roc --- layout/base/nsCSSFrameConstructor.cpp | 2 +- layout/reftests/bugs/474417-1-ref.html | 11 +++++++++++ layout/reftests/bugs/474417-1.html | 11 +++++++++++ layout/reftests/bugs/reftest.list | 1 + 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 layout/reftests/bugs/474417-1-ref.html create mode 100644 layout/reftests/bugs/474417-1.html diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index aec54b60e46c..44301e2b91c7 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -4992,7 +4992,7 @@ nsCSSFrameConstructor::FindHTMLData(nsIContent* aContent, SIMPLE_TAG_CHAIN(mozgeneratedcontentimage, nsCSSFrameConstructor::FindImgData), { &nsGkAtoms::br, FCDATA_DECL(FCDATA_SKIP_FRAMEMAP, NS_NewBRFrame) }, - SIMPLE_TAG_CREATE(wbr, NS_NewBRFrame), + SIMPLE_TAG_CREATE(wbr, NS_NewWBRFrame), SIMPLE_TAG_CHAIN(input, nsCSSFrameConstructor::FindInputData), SIMPLE_TAG_CREATE(textarea, NS_NewTextControlFrame), COMPLEX_TAG_CREATE(select, &nsCSSFrameConstructor::ConstructSelectFrame), diff --git a/layout/reftests/bugs/474417-1-ref.html b/layout/reftests/bugs/474417-1-ref.html new file mode 100644 index 000000000000..d7e316ba578d --- /dev/null +++ b/layout/reftests/bugs/474417-1-ref.html @@ -0,0 +1,11 @@ + + + +
+ AB +
+
+ A B +
+ diff --git a/layout/reftests/bugs/474417-1.html b/layout/reftests/bugs/474417-1.html new file mode 100644 index 000000000000..7efcf22b52a8 --- /dev/null +++ b/layout/reftests/bugs/474417-1.html @@ -0,0 +1,11 @@ + + + +
+ AB +
+
+ AB +
+ diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index ed49d185db30..299efb041d98 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -1030,3 +1030,4 @@ fails == 461512-1.html 461512-1-ref.html # Bug 461512 == 471594-1.xhtml 471594-1-ref.html == 472500-1.xul 472500-1-ref.xul == 474336-1.xul 474336-1-ref.xul +== 474417-1.html 474417-1-ref.html