public class LayoutImplIE8 extends Object
LayoutImpl
, it converts
all values to pixels before setting them. This is necessary because this
browser incorrectly calculates the relative sizes and positions of CSS
properties specified in certain units (e.g., when the value of an 'em' is
non-integral in pixels).Modifier and Type | Field and Description |
---|---|
protected DivElement |
relativeRuler |
Constructor and Description |
---|
LayoutImplIE8() |
Modifier and Type | Method and Description |
---|---|
Element |
attachChild(Element parent,
Element child,
Element before) |
protected static DivElement |
createRuler(Style.Unit widthUnit,
Style.Unit heightUnit) |
void |
fillParent(Element elem) |
void |
finalizeLayout(Element parent) |
double |
getUnitSizeInPixels(Element parent,
Style.Unit unit,
boolean vertical) |
void |
initParent(Element parent) |
void |
layout(Layout.Layer layer) |
void |
onAttach(Element parent) |
void |
onDetach(Element parent) |
void |
removeChild(Element container,
Element child) |
protected DivElement relativeRuler
public void layout(Layout.Layer layer)
public void onDetach(Element parent)
protected static DivElement createRuler(Style.Unit widthUnit, Style.Unit heightUnit)
public void fillParent(Element elem)
public void finalizeLayout(Element parent)
parent
- the parent elementpublic double getUnitSizeInPixels(Element parent, Style.Unit unit, boolean vertical)
public void initParent(Element parent)
public void onAttach(Element parent)
Copyright © 2018. All rights reserved.