зеркало из https://github.com/mozilla/gecko-dev.git
Bug 591619 followup. Need to allow the <select>'s anonymous kids. a=orange
This commit is contained in:
Родитель
23b65b98e3
Коммит
e96a09f77a
|
@ -5175,7 +5175,9 @@ nsCSSFrameConstructor::AddFrameConstructionItemsInternal(nsFrameConstructorState
|
|||
!aContent->IsHTML(nsGkAtoms::option) &&
|
||||
// <optgroup> is OK in <select> but not in <optgroup>
|
||||
(!aContent->IsHTML(nsGkAtoms::optgroup) ||
|
||||
parentTag != nsGkAtoms::select)) {
|
||||
parentTag != nsGkAtoms::select) &&
|
||||
// Allow native anonymous content no matter what
|
||||
!aContent->IsRootOfNativeAnonymousSubtree()) {
|
||||
// No frame for aContent
|
||||
if (!isText) {
|
||||
SetAsUndisplayedContent(aState.mFrameManager, aContent, styleContext,
|
||||
|
|
Загрузка…
Ссылка в новой задаче