bug 13105 - removed code which set frames style to "all"
git-svn-id: svn://10.0.0.236/trunk@47190 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -962,10 +962,6 @@ MapTableFrameInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
aAttributes->GetAttribute(nsHTMLAtoms::frame, frameValue);
|
||||
if (frameValue.GetUnit() == eHTMLUnit_Enumerated)
|
||||
{
|
||||
// store the value of frame
|
||||
nsStyleTable *tableStyle = (nsStyleTable*)aContext->GetMutableStyleData(eStyleStruct_Table);
|
||||
tableStyle->mFrame = frameValue.GetIntValue();
|
||||
tableStyle->mRules=NS_STYLE_TABLE_RULES_ALL; // most values of frame imply default rules=all
|
||||
// adjust the border style based on the value of frame
|
||||
switch (frameValue.GetIntValue())
|
||||
{
|
||||
|
||||
@@ -962,10 +962,6 @@ MapTableFrameInto(const nsIHTMLMappedAttributes* aAttributes,
|
||||
aAttributes->GetAttribute(nsHTMLAtoms::frame, frameValue);
|
||||
if (frameValue.GetUnit() == eHTMLUnit_Enumerated)
|
||||
{
|
||||
// store the value of frame
|
||||
nsStyleTable *tableStyle = (nsStyleTable*)aContext->GetMutableStyleData(eStyleStruct_Table);
|
||||
tableStyle->mFrame = frameValue.GetIntValue();
|
||||
tableStyle->mRules=NS_STYLE_TABLE_RULES_ALL; // most values of frame imply default rules=all
|
||||
// adjust the border style based on the value of frame
|
||||
switch (frameValue.GetIntValue())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user