Add the HTMLTableCellElement::rowspan property

This commit is contained in:
Matt Brubeck 2016-11-22 13:24:06 -08:00
parent b77a0a89cf
commit e982d6003f
10 changed files with 52 additions and 763 deletions

View file

@ -41,6 +41,9 @@ pub struct TableCellFlow {
/// The column span of this cell. /// The column span of this cell.
pub column_span: u32, pub column_span: u32,
/// The rows spanned by this cell.
pub row_span: u32,
/// Whether this cell is visible. If false, the value of `empty-cells` means that we must not /// Whether this cell is visible. If false, the value of `empty-cells` means that we must not
/// display this cell. /// display this cell.
pub visible: bool, pub visible: bool,
@ -52,6 +55,7 @@ impl TableCellFlow {
block_flow: BlockFlow::from_fragment(fragment), block_flow: BlockFlow::from_fragment(fragment),
collapsed_borders: CollapsedBordersForCell::new(), collapsed_borders: CollapsedBordersForCell::new(),
column_span: 1, column_span: 1,
row_span: 1,
visible: true, visible: true,
} }
} }
@ -62,6 +66,7 @@ impl TableCellFlow {
block_flow: BlockFlow::from_fragment(fragment), block_flow: BlockFlow::from_fragment(fragment),
collapsed_borders: CollapsedBordersForCell::new(), collapsed_borders: CollapsedBordersForCell::new(),
column_span: node.get_colspan(), column_span: node.get_colspan(),
row_span: node.get_rowspan(),
visible: visible, visible: visible,
} }
} }

View file

@ -78,6 +78,8 @@ pub struct CellIntrinsicInlineSize {
pub column_size: ColumnIntrinsicInlineSize, pub column_size: ColumnIntrinsicInlineSize,
/// The column span of this cell. /// The column span of this cell.
pub column_span: u32, pub column_span: u32,
/// The row span of this cell.
pub row_span: u32,
} }
@ -268,6 +270,7 @@ impl Flow for TableRowFlow {
// fixed and automatic table layout calculation. // fixed and automatic table layout calculation.
let child_specified_inline_size; let child_specified_inline_size;
let child_column_span; let child_column_span;
let child_row_span;
{ {
let child_table_cell = kid.as_mut_table_cell(); let child_table_cell = kid.as_mut_table_cell();
child_specified_inline_size = child_table_cell.block_flow child_specified_inline_size = child_table_cell.block_flow
@ -275,6 +278,7 @@ impl Flow for TableRowFlow {
.style .style
.content_inline_size(); .content_inline_size();
child_column_span = child_table_cell.column_span; child_column_span = child_table_cell.column_span;
child_row_span = child_table_cell.row_span;
// Perform border collapse if necessary. // Perform border collapse if necessary.
if collapsing_borders { if collapsing_borders {
@ -319,6 +323,7 @@ impl Flow for TableRowFlow {
self.cell_intrinsic_inline_sizes.push(CellIntrinsicInlineSize { self.cell_intrinsic_inline_sizes.push(CellIntrinsicInlineSize {
column_size: child_column_inline_size, column_size: child_column_inline_size,
column_span: child_column_span, column_span: child_column_span,
row_span: child_row_span,
}); });
} }
} }

View file

@ -324,6 +324,8 @@ pub trait LayoutElementHelpers {
#[allow(unsafe_code)] #[allow(unsafe_code)]
unsafe fn get_colspan(self) -> u32; unsafe fn get_colspan(self) -> u32;
#[allow(unsafe_code)] #[allow(unsafe_code)]
unsafe fn get_rowspan(self) -> u32;
#[allow(unsafe_code)]
unsafe fn html_element_in_html_document_for_layout(&self) -> bool; unsafe fn html_element_in_html_document_for_layout(&self) -> bool;
fn id_attribute(&self) -> *const Option<Atom>; fn id_attribute(&self) -> *const Option<Atom>;
fn style_attribute(&self) -> *const Option<Arc<RwLock<PropertyDeclarationBlock>>>; fn style_attribute(&self) -> *const Option<Arc<RwLock<PropertyDeclarationBlock>>>;
@ -627,6 +629,17 @@ impl LayoutElementHelpers for LayoutJS<Element> {
} }
} }
#[allow(unsafe_code)]
unsafe fn get_rowspan(self) -> u32 {
if let Some(this) = self.downcast::<HTMLTableCellElement>() {
this.get_rowspan().unwrap_or(1)
} else {
// Don't panic since `display` can cause this to be called on arbitrary
// elements.
1
}
}
#[inline] #[inline]
#[allow(unsafe_code)] #[allow(unsafe_code)]
unsafe fn html_element_in_html_document_for_layout(&self) -> bool { unsafe fn html_element_in_html_document_for_layout(&self) -> bool {

View file

@ -18,6 +18,7 @@ use html5ever_atoms::LocalName;
use style::attr::{AttrValue, LengthOrPercentageOrAuto}; use style::attr::{AttrValue, LengthOrPercentageOrAuto};
const DEFAULT_COLSPAN: u32 = 1; const DEFAULT_COLSPAN: u32 = 1;
const DEFAULT_ROWSPAN: u32 = 1;
#[dom_struct] #[dom_struct]
pub struct HTMLTableCellElement { pub struct HTMLTableCellElement {
@ -47,6 +48,12 @@ impl HTMLTableCellElementMethods for HTMLTableCellElement {
// https://html.spec.whatwg.org/multipage/#dom-tdth-colspan // https://html.spec.whatwg.org/multipage/#dom-tdth-colspan
make_uint_setter!(SetColSpan, "colspan", DEFAULT_COLSPAN); make_uint_setter!(SetColSpan, "colspan", DEFAULT_COLSPAN);
// https://html.spec.whatwg.org/multipage/#dom-tdth-rowspan
make_uint_getter!(RowSpan, "rowspan", DEFAULT_ROWSPAN);
// https://html.spec.whatwg.org/multipage/#dom-tdth-rowspan
make_uint_setter!(SetRowSpan, "rowspan", DEFAULT_ROWSPAN);
// https://html.spec.whatwg.org/multipage/#dom-tdth-bgcolor // https://html.spec.whatwg.org/multipage/#dom-tdth-bgcolor
make_getter!(BgColor, "bgcolor"); make_getter!(BgColor, "bgcolor");
@ -80,6 +87,7 @@ impl HTMLTableCellElementMethods for HTMLTableCellElement {
pub trait HTMLTableCellElementLayoutHelpers { pub trait HTMLTableCellElementLayoutHelpers {
fn get_background_color(&self) -> Option<RGBA>; fn get_background_color(&self) -> Option<RGBA>;
fn get_colspan(&self) -> Option<u32>; fn get_colspan(&self) -> Option<u32>;
fn get_rowspan(&self) -> Option<u32>;
fn get_width(&self) -> LengthOrPercentageOrAuto; fn get_width(&self) -> LengthOrPercentageOrAuto;
} }
@ -102,6 +110,14 @@ impl HTMLTableCellElementLayoutHelpers for LayoutJS<HTMLTableCellElement> {
} }
} }
fn get_rowspan(&self) -> Option<u32> {
unsafe {
(&*self.upcast::<Element>().unsafe_get())
.get_attr_for_layout(&ns!(), &local_name!("rowspan"))
.map(AttrValue::as_uint)
}
}
fn get_width(&self) -> LengthOrPercentageOrAuto { fn get_width(&self) -> LengthOrPercentageOrAuto {
unsafe { unsafe {
(&*self.upcast::<Element>().unsafe_get()) (&*self.upcast::<Element>().unsafe_get())
@ -121,6 +137,7 @@ impl VirtualMethods for HTMLTableCellElement {
fn parse_plain_attribute(&self, local_name: &LocalName, value: DOMString) -> AttrValue { fn parse_plain_attribute(&self, local_name: &LocalName, value: DOMString) -> AttrValue {
match *local_name { match *local_name {
local_name!("colspan") => AttrValue::from_u32(value.into(), DEFAULT_COLSPAN), local_name!("colspan") => AttrValue::from_u32(value.into(), DEFAULT_COLSPAN),
local_name!("rowspan") => AttrValue::from_u32(value.into(), DEFAULT_ROWSPAN),
local_name!("bgcolor") => AttrValue::from_legacy_color(value.into()), local_name!("bgcolor") => AttrValue::from_legacy_color(value.into()),
local_name!("width") => AttrValue::from_nonzero_dimension(value.into()), local_name!("width") => AttrValue::from_nonzero_dimension(value.into()),
_ => self.super_type().unwrap().parse_plain_attribute(local_name, value), _ => self.super_type().unwrap().parse_plain_attribute(local_name, value),

View file

@ -5,8 +5,8 @@
// https://html.spec.whatwg.org/multipage/#htmltablecellelement // https://html.spec.whatwg.org/multipage/#htmltablecellelement
[Abstract] [Abstract]
interface HTMLTableCellElement : HTMLElement { interface HTMLTableCellElement : HTMLElement {
attribute unsigned long colSpan; attribute unsigned long colSpan;
// attribute unsigned long rowSpan; attribute unsigned long rowSpan;
// attribute DOMString headers; // attribute DOMString headers;
readonly attribute long cellIndex; readonly attribute long cellIndex;

View file

@ -913,6 +913,12 @@ impl<'ln> ThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> {
self.get_jsmanaged().downcast::<Element>().unwrap().get_colspan() self.get_jsmanaged().downcast::<Element>().unwrap().get_colspan()
} }
} }
fn get_rowspan(&self) -> u32 {
unsafe {
self.get_jsmanaged().downcast::<Element>().unwrap().get_rowspan()
}
}
} }
pub struct ThreadSafeLayoutNodeChildrenIterator<ConcreteNode: ThreadSafeLayoutNode> { pub struct ThreadSafeLayoutNodeChildrenIterator<ConcreteNode: ThreadSafeLayoutNode> {

View file

@ -265,6 +265,8 @@ pub trait ThreadSafeLayoutNode: Clone + Copy + Debug + GetLayoutData + NodeInfo
fn get_colspan(&self) -> u32; fn get_colspan(&self) -> u32;
fn get_rowspan(&self) -> u32;
fn fragment_type(&self) -> FragmentType { fn fragment_type(&self) -> FragmentType {
match self.get_pseudo_element_type() { match self.get_pseudo_element_type() {
PseudoElementType::Normal => FragmentType::FragmentBody, PseudoElementType::Normal => FragmentType::FragmentBody,

View file

@ -266,8 +266,8 @@ pub fn common_style_affecting_attributes() -> [CommonStyleAffectingAttributeInfo
/// Attributes that, if present, disable style sharing. All legacy HTML attributes must be in /// Attributes that, if present, disable style sharing. All legacy HTML attributes must be in
/// either this list or `common_style_affecting_attributes`. See the comment in /// either this list or `common_style_affecting_attributes`. See the comment in
/// `synthesize_presentational_hints_for_legacy_attributes`. /// `synthesize_presentational_hints_for_legacy_attributes`.
pub fn rare_style_affecting_attributes() -> [LocalName; 3] { pub fn rare_style_affecting_attributes() -> [LocalName; 4] {
[ local_name!("bgcolor"), local_name!("border"), local_name!("colspan") ] [local_name!("bgcolor"), local_name!("border"), local_name!("colspan"), local_name!("rowspan")]
} }
fn have_same_class<E: TElement>(element: &E, fn have_same_class<E: TElement>(element: &E,

View file

@ -2973,9 +2973,6 @@
[HTMLTableDataCellElement interface: document.createElement("td") must inherit property "abbr" with the proper type (0)] [HTMLTableDataCellElement interface: document.createElement("td") must inherit property "abbr" with the proper type (0)]
expected: FAIL expected: FAIL
[HTMLTableCellElement interface: document.createElement("td") must inherit property "rowSpan" with the proper type (1)]
expected: FAIL
[HTMLTableCellElement interface: document.createElement("td") must inherit property "headers" with the proper type (2)] [HTMLTableCellElement interface: document.createElement("td") must inherit property "headers" with the proper type (2)]
expected: FAIL expected: FAIL
@ -3024,9 +3021,6 @@
[HTMLTableHeaderCellElement interface: document.createElement("th") must inherit property "sort" with the proper type (3)] [HTMLTableHeaderCellElement interface: document.createElement("th") must inherit property "sort" with the proper type (3)]
expected: FAIL expected: FAIL
[HTMLTableCellElement interface: document.createElement("th") must inherit property "rowSpan" with the proper type (1)]
expected: FAIL
[HTMLTableCellElement interface: document.createElement("th") must inherit property "headers" with the proper type (2)] [HTMLTableCellElement interface: document.createElement("th") must inherit property "headers" with the proper type (2)]
expected: FAIL expected: FAIL
@ -3051,9 +3045,6 @@
[HTMLTableCellElement interface: document.createElement("th") must inherit property "vAlign" with the proper type (11)] [HTMLTableCellElement interface: document.createElement("th") must inherit property "vAlign" with the proper type (11)]
expected: FAIL expected: FAIL
[HTMLTableCellElement interface: attribute rowSpan]
expected: FAIL
[HTMLTableCellElement interface: attribute headers] [HTMLTableCellElement interface: attribute headers]
expected: FAIL expected: FAIL

View file

@ -11127,189 +11127,6 @@
[td.tabIndex: IDL set to -2147483648 followed by getAttribute()] [td.tabIndex: IDL set to -2147483648 followed by getAttribute()]
expected: FAIL expected: FAIL
[td.rowSpan: typeof IDL attribute]
expected: FAIL
[td.rowSpan: IDL get with DOM attribute unset]
expected: FAIL
[td.rowSpan: setAttribute() to -2147483649 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to -2147483648 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to -36 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to -1 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 0 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 1 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 257 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 2147483647 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 2147483648 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 4294967295 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 4294967296 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "-1" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "-0" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "0" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "1" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "\\t7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "\\v7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "\\f7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "\\n7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "\\r7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to undefined followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to 1.5 followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to true followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to false followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to object "[object Object\]" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to NaN followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to Infinity followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to -Infinity followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to "\\0" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to object "2" followed by IDL get]
expected: FAIL
[td.rowSpan: setAttribute() to object "3" followed by IDL get]
expected: FAIL
[td.rowSpan: IDL set to 0 followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to 1 followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to 257 followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to 2147483647 followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to "-0" followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to "-0" followed by IDL get]
expected: FAIL
[td.align: typeof IDL attribute] [td.align: typeof IDL attribute]
expected: FAIL expected: FAIL
@ -13050,189 +12867,6 @@
[th.tabIndex: IDL set to -2147483648 followed by getAttribute()] [th.tabIndex: IDL set to -2147483648 followed by getAttribute()]
expected: FAIL expected: FAIL
[th.rowSpan: typeof IDL attribute]
expected: FAIL
[th.rowSpan: IDL get with DOM attribute unset]
expected: FAIL
[th.rowSpan: setAttribute() to -2147483649 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to -2147483648 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to -36 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to -1 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 0 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 1 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 257 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 2147483647 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 2147483648 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 4294967295 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 4294967296 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "-1" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "-0" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "0" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "1" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "\\t7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "\\v7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "\\f7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "\\n7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "\\r7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to " 7" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to undefined followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to 1.5 followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to true followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to false followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to object "[object Object\]" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to NaN followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to Infinity followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to -Infinity followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to "\\0" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to object "2" followed by IDL get]
expected: FAIL
[th.rowSpan: setAttribute() to object "3" followed by IDL get]
expected: FAIL
[th.rowSpan: IDL set to 0 followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to 1 followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to 257 followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to 2147483647 followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to "-0" followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to "-0" followed by IDL get]
expected: FAIL
[th.align: typeof IDL attribute] [th.align: typeof IDL attribute]
expected: FAIL expected: FAIL
@ -17007,30 +16641,6 @@
[col.span: IDL set to 4294967295 followed by IDL get] [col.span: IDL set to 4294967295 followed by IDL get]
expected: FAIL expected: FAIL
[td.rowSpan: IDL set to 2147483648 followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to 2147483648 followed by IDL get]
expected: FAIL
[td.rowSpan: IDL set to 4294967295 followed by getAttribute()]
expected: FAIL
[td.rowSpan: IDL set to 4294967295 followed by IDL get]
expected: FAIL
[th.rowSpan: IDL set to 2147483648 followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to 2147483648 followed by IDL get]
expected: FAIL
[th.rowSpan: IDL set to 4294967295 followed by getAttribute()]
expected: FAIL
[th.rowSpan: IDL set to 4294967295 followed by IDL get]
expected: FAIL
[td.scope: typeof IDL attribute] [td.scope: typeof IDL attribute]
expected: FAIL expected: FAIL
@ -23796,186 +23406,6 @@
[td.tabIndex: IDL set to -2147483648] [td.tabIndex: IDL set to -2147483648]
expected: FAIL expected: FAIL
[td.rowSpan: setAttribute() to -2147483649]
expected: FAIL
[td.rowSpan: setAttribute() to -2147483648]
expected: FAIL
[td.rowSpan: setAttribute() to -36]
expected: FAIL
[td.rowSpan: setAttribute() to -1]
expected: FAIL
[td.rowSpan: setAttribute() to 0]
expected: FAIL
[td.rowSpan: setAttribute() to 1]
expected: FAIL
[td.rowSpan: setAttribute() to 257]
expected: FAIL
[td.rowSpan: setAttribute() to 2147483647]
expected: FAIL
[td.rowSpan: setAttribute() to 2147483648]
expected: FAIL
[td.rowSpan: setAttribute() to 4294967295]
expected: FAIL
[td.rowSpan: setAttribute() to 4294967296]
expected: FAIL
[td.rowSpan: setAttribute() to ""]
expected: FAIL
[td.rowSpan: setAttribute() to "-1"]
expected: FAIL
[td.rowSpan: setAttribute() to "-0"]
expected: FAIL
[td.rowSpan: setAttribute() to "0"]
expected: FAIL
[td.rowSpan: setAttribute() to "1"]
expected: FAIL
[td.rowSpan: setAttribute() to "\\t7"]
expected: FAIL
[td.rowSpan: setAttribute() to "\\v7"]
expected: FAIL
[td.rowSpan: setAttribute() to "\\f7"]
expected: FAIL
[td.rowSpan: setAttribute() to " 7"]
expected: FAIL
[td.rowSpan: setAttribute() to " 7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "\\n7"]
expected: FAIL
[td.rowSpan: setAttribute() to "\\r7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to " 7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to "7"]
expected: FAIL
[td.rowSpan: setAttribute() to " 7"]
expected: FAIL
[td.rowSpan: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
expected: FAIL
[td.rowSpan: setAttribute() to undefined]
expected: FAIL
[td.rowSpan: setAttribute() to 1.5]
expected: FAIL
[td.rowSpan: setAttribute() to true]
expected: FAIL
[td.rowSpan: setAttribute() to false]
expected: FAIL
[td.rowSpan: setAttribute() to object "[object Object\]"]
expected: FAIL
[td.rowSpan: setAttribute() to NaN]
expected: FAIL
[td.rowSpan: setAttribute() to Infinity]
expected: FAIL
[td.rowSpan: setAttribute() to -Infinity]
expected: FAIL
[td.rowSpan: setAttribute() to "\\0"]
expected: FAIL
[td.rowSpan: setAttribute() to object "2"]
expected: FAIL
[td.rowSpan: setAttribute() to object "3"]
expected: FAIL
[td.rowSpan: IDL set to 0]
expected: FAIL
[td.rowSpan: IDL set to 1]
expected: FAIL
[td.rowSpan: IDL set to 257]
expected: FAIL
[td.rowSpan: IDL set to 2147483647]
expected: FAIL
[td.rowSpan: IDL set to "-0"]
expected: FAIL
[td.rowSpan: IDL set to 2147483648]
expected: FAIL
[td.rowSpan: IDL set to 4294967295]
expected: FAIL
[td.scope: setAttribute() to ""] [td.scope: setAttribute() to ""]
expected: FAIL expected: FAIL
@ -25245,186 +24675,6 @@
[th.tabIndex: IDL set to -2147483648] [th.tabIndex: IDL set to -2147483648]
expected: FAIL expected: FAIL
[th.rowSpan: setAttribute() to -2147483649]
expected: FAIL
[th.rowSpan: setAttribute() to -2147483648]
expected: FAIL
[th.rowSpan: setAttribute() to -36]
expected: FAIL
[th.rowSpan: setAttribute() to -1]
expected: FAIL
[th.rowSpan: setAttribute() to 0]
expected: FAIL
[th.rowSpan: setAttribute() to 1]
expected: FAIL
[th.rowSpan: setAttribute() to 257]
expected: FAIL
[th.rowSpan: setAttribute() to 2147483647]
expected: FAIL
[th.rowSpan: setAttribute() to 2147483648]
expected: FAIL
[th.rowSpan: setAttribute() to 4294967295]
expected: FAIL
[th.rowSpan: setAttribute() to 4294967296]
expected: FAIL
[th.rowSpan: setAttribute() to ""]
expected: FAIL
[th.rowSpan: setAttribute() to "-1"]
expected: FAIL
[th.rowSpan: setAttribute() to "-0"]
expected: FAIL
[th.rowSpan: setAttribute() to "0"]
expected: FAIL
[th.rowSpan: setAttribute() to "1"]
expected: FAIL
[th.rowSpan: setAttribute() to "\\t7"]
expected: FAIL
[th.rowSpan: setAttribute() to "\\v7"]
expected: FAIL
[th.rowSpan: setAttribute() to "\\f7"]
expected: FAIL
[th.rowSpan: setAttribute() to " 7"]
expected: FAIL
[th.rowSpan: setAttribute() to " 7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "\\n7"]
expected: FAIL
[th.rowSpan: setAttribute() to "\\r7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to " 7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to "7"]
expected: FAIL
[th.rowSpan: setAttribute() to " 7"]
expected: FAIL
[th.rowSpan: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
expected: FAIL
[th.rowSpan: setAttribute() to undefined]
expected: FAIL
[th.rowSpan: setAttribute() to 1.5]
expected: FAIL
[th.rowSpan: setAttribute() to true]
expected: FAIL
[th.rowSpan: setAttribute() to false]
expected: FAIL
[th.rowSpan: setAttribute() to object "[object Object\]"]
expected: FAIL
[th.rowSpan: setAttribute() to NaN]
expected: FAIL
[th.rowSpan: setAttribute() to Infinity]
expected: FAIL
[th.rowSpan: setAttribute() to -Infinity]
expected: FAIL
[th.rowSpan: setAttribute() to "\\0"]
expected: FAIL
[th.rowSpan: setAttribute() to object "2"]
expected: FAIL
[th.rowSpan: setAttribute() to object "3"]
expected: FAIL
[th.rowSpan: IDL set to 0]
expected: FAIL
[th.rowSpan: IDL set to 1]
expected: FAIL
[th.rowSpan: IDL set to 257]
expected: FAIL
[th.rowSpan: IDL set to 2147483647]
expected: FAIL
[th.rowSpan: IDL set to "-0"]
expected: FAIL
[th.rowSpan: IDL set to 2147483648]
expected: FAIL
[th.rowSpan: IDL set to 4294967295]
expected: FAIL
[th.scope: setAttribute() to ""] [th.scope: setAttribute() to ""]
expected: FAIL expected: FAIL