Make sure to apply our styles to our anonymous content no matter what the
page's style language is. Bug 234761, r=sicking, sr=jst git-svn-id: svn://10.0.0.236/trunk@154840 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1675,6 +1675,9 @@ nsTextControlFrame::CreateAnonymousContent(nsIPresContext* aPresContext,
|
||||
if (!divContent)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
// Set the div native anonymous, so CSS will be its style language
|
||||
// no matter what.
|
||||
divContent->SetNativeAnonymous(PR_TRUE);
|
||||
|
||||
// Set the neccessary style attributes on the text control.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user