зеркало из https://github.com/mozilla/gecko-dev.git
c07fbf3cf6
The HTML group constants in nsElementTable.cpp are only used for nsHTMLElement::IsBlock(). This patch removes them and replaces HTMLElement::mParentBits with a bool, mIsBlock. The patch also inverts the sense of HTMLElement::mLeaf and renames it mIsContainer, to match the sense of IsContainer(). Finally, the patch uses the pre-processor to use '____' instead of 'false' in gHTMLElements. This makes it easier to read. Note that IsBlock() has numerous disagreements with https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements about what constitutes a block element, but I have preserved the existing behaviour. --HG-- extra : rebase_source : ff5ab71fdb2665fda296c0fbb712641151a7b003 |
||
---|---|---|
.. | ||
expat | ||
html | ||
htmlparser | ||
xml | ||
moz.build | ||
nsCharsetSource.h |