mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
fix comment
This commit is contained in:
parent
454374276f
commit
9b100241fd
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ impl Box {
|
||||||
pub fn new(node: LayoutNode, specific: SpecificBoxInfo) -> Box {
|
pub fn new(node: LayoutNode, specific: SpecificBoxInfo) -> Box {
|
||||||
// Find the nearest ancestor element and take its style. (It should be either that node or
|
// Find the nearest ancestor element and take its style. (It should be either that node or
|
||||||
// its immediate parent.)
|
// its immediate parent.)
|
||||||
// CSS 2.1 § 9.2.1.1 This is for non-inherited properties on anonymous block boxes
|
// CSS 2.1 § 9.2.1.1,9.2.2.1 This is for non-inherited properties on anonymous boxes
|
||||||
// example:
|
// example:
|
||||||
//
|
//
|
||||||
// <div style="border: solid">
|
// <div style="border: solid">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue