mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use presentation hints correctly for the dimensions of <img>
.
Mostly straightforward; includes some extra fixes to make `<canvas>` work the same way as `<img>` for reflow.
This commit is contained in:
parent
b188cb542e
commit
7b671d13a0
56 changed files with 5505 additions and 853 deletions
|
@ -34,7 +34,6 @@ use std::cmp::{max, min};
|
||||||
use std::collections::LinkedList;
|
use std::collections::LinkedList;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
use string_cache::Atom;
|
|
||||||
use style::computed_values::content::ContentItem;
|
use style::computed_values::content::ContentItem;
|
||||||
use style::computed_values::{border_collapse, clear, display, mix_blend_mode, overflow_wrap};
|
use style::computed_values::{border_collapse, clear, display, mix_blend_mode, overflow_wrap};
|
||||||
use style::computed_values::{overflow_x, position, text_decoration, transform_style};
|
use style::computed_values::{overflow_x, position, text_decoration, transform_style};
|
||||||
|
@ -312,28 +311,38 @@ pub struct CanvasFragmentInfo {
|
||||||
pub replaced_image_fragment_info: ReplacedImageFragmentInfo,
|
pub replaced_image_fragment_info: ReplacedImageFragmentInfo,
|
||||||
pub renderer_id: Option<usize>,
|
pub renderer_id: Option<usize>,
|
||||||
pub ipc_renderer: Option<Arc<Mutex<IpcSender<CanvasMsg>>>>,
|
pub ipc_renderer: Option<Arc<Mutex<IpcSender<CanvasMsg>>>>,
|
||||||
|
pub dom_width: Au,
|
||||||
|
pub dom_height: Au,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CanvasFragmentInfo {
|
impl CanvasFragmentInfo {
|
||||||
pub fn new<'ln, N: ThreadSafeLayoutNode<'ln>>(node: &N, data: HTMLCanvasData) -> CanvasFragmentInfo {
|
pub fn new<'ln, N: ThreadSafeLayoutNode<'ln>>(node: &N, data: HTMLCanvasData) -> CanvasFragmentInfo {
|
||||||
CanvasFragmentInfo {
|
CanvasFragmentInfo {
|
||||||
replaced_image_fragment_info: ReplacedImageFragmentInfo::new(node,
|
replaced_image_fragment_info: ReplacedImageFragmentInfo::new(node),
|
||||||
Some(Au::from_px(data.width as i32)),
|
|
||||||
Some(Au::from_px(data.height as i32))),
|
|
||||||
renderer_id: data.renderer_id,
|
renderer_id: data.renderer_id,
|
||||||
ipc_renderer: data.ipc_renderer
|
ipc_renderer: data.ipc_renderer
|
||||||
.map(|renderer| Arc::new(Mutex::new(renderer))),
|
.map(|renderer| Arc::new(Mutex::new(renderer))),
|
||||||
|
dom_width: Au::from_px(data.width as i32),
|
||||||
|
dom_height: Au::from_px(data.height as i32),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the original inline-size of the canvas.
|
/// Returns the original inline-size of the canvas.
|
||||||
pub fn canvas_inline_size(&self) -> Au {
|
pub fn canvas_inline_size(&self) -> Au {
|
||||||
self.replaced_image_fragment_info.dom_inline_size.unwrap_or(Au(0))
|
if self.replaced_image_fragment_info.writing_mode_is_vertical {
|
||||||
|
self.dom_height
|
||||||
|
} else {
|
||||||
|
self.dom_width
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the original block-size of the canvas.
|
/// Returns the original block-size of the canvas.
|
||||||
pub fn canvas_block_size(&self) -> Au {
|
pub fn canvas_block_size(&self) -> Au {
|
||||||
self.replaced_image_fragment_info.dom_block_size.unwrap_or(Au(0))
|
if self.replaced_image_fragment_info.writing_mode_is_vertical {
|
||||||
|
self.dom_width
|
||||||
|
} else {
|
||||||
|
self.dom_height
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -354,14 +363,6 @@ impl ImageFragmentInfo {
|
||||||
/// sense to me.
|
/// sense to me.
|
||||||
pub fn new<'ln, N: ThreadSafeLayoutNode<'ln>>(node: &N, url: Option<Url>,
|
pub fn new<'ln, N: ThreadSafeLayoutNode<'ln>>(node: &N, url: Option<Url>,
|
||||||
layout_context: &LayoutContext) -> ImageFragmentInfo {
|
layout_context: &LayoutContext) -> ImageFragmentInfo {
|
||||||
fn convert_length<'ln, N>(node: &N, name: &Atom) -> Option<Au>
|
|
||||||
where N: ThreadSafeLayoutNode<'ln> {
|
|
||||||
let element = node.as_element();
|
|
||||||
element.get_attr(&ns!(), name)
|
|
||||||
.and_then(|string| string.parse().ok())
|
|
||||||
.map(Au::from_px)
|
|
||||||
}
|
|
||||||
|
|
||||||
let image_or_metadata = url.and_then(|url| {
|
let image_or_metadata = url.and_then(|url| {
|
||||||
layout_context.get_or_request_image_or_meta(url, UsePlaceholder::Yes)
|
layout_context.get_or_request_image_or_meta(url, UsePlaceholder::Yes)
|
||||||
});
|
});
|
||||||
|
@ -379,9 +380,7 @@ impl ImageFragmentInfo {
|
||||||
};
|
};
|
||||||
|
|
||||||
ImageFragmentInfo {
|
ImageFragmentInfo {
|
||||||
replaced_image_fragment_info: ReplacedImageFragmentInfo::new(node,
|
replaced_image_fragment_info: ReplacedImageFragmentInfo::new(node),
|
||||||
convert_length(node, &atom!("width")),
|
|
||||||
convert_length(node, &atom!("height"))),
|
|
||||||
image: image,
|
image: image,
|
||||||
metadata: metadata,
|
metadata: metadata,
|
||||||
}
|
}
|
||||||
|
@ -436,30 +435,16 @@ impl ImageFragmentInfo {
|
||||||
pub struct ReplacedImageFragmentInfo {
|
pub struct ReplacedImageFragmentInfo {
|
||||||
pub computed_inline_size: Option<Au>,
|
pub computed_inline_size: Option<Au>,
|
||||||
pub computed_block_size: Option<Au>,
|
pub computed_block_size: Option<Au>,
|
||||||
pub dom_inline_size: Option<Au>,
|
|
||||||
pub dom_block_size: Option<Au>,
|
|
||||||
pub writing_mode_is_vertical: bool,
|
pub writing_mode_is_vertical: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ReplacedImageFragmentInfo {
|
impl ReplacedImageFragmentInfo {
|
||||||
pub fn new<'ln, N>(node: &N,
|
pub fn new<'ln, N>(node: &N) -> ReplacedImageFragmentInfo
|
||||||
dom_width: Option<Au>,
|
|
||||||
dom_height: Option<Au>) -> ReplacedImageFragmentInfo
|
|
||||||
where N: ThreadSafeLayoutNode<'ln> {
|
where N: ThreadSafeLayoutNode<'ln> {
|
||||||
let is_vertical = node.style().writing_mode.is_vertical();
|
let is_vertical = node.style().writing_mode.is_vertical();
|
||||||
ReplacedImageFragmentInfo {
|
ReplacedImageFragmentInfo {
|
||||||
computed_inline_size: None,
|
computed_inline_size: None,
|
||||||
computed_block_size: None,
|
computed_block_size: None,
|
||||||
dom_inline_size: if is_vertical {
|
|
||||||
dom_height
|
|
||||||
} else {
|
|
||||||
dom_width
|
|
||||||
},
|
|
||||||
dom_block_size: if is_vertical {
|
|
||||||
dom_width
|
|
||||||
} else {
|
|
||||||
dom_height
|
|
||||||
},
|
|
||||||
writing_mode_is_vertical: is_vertical,
|
writing_mode_is_vertical: is_vertical,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -479,20 +464,18 @@ impl ReplacedImageFragmentInfo {
|
||||||
// `dom_length`: inline-size or block-size as specified in the `img` tag.
|
// `dom_length`: inline-size or block-size as specified in the `img` tag.
|
||||||
// `style_length`: inline-size as given in the CSS
|
// `style_length`: inline-size as given in the CSS
|
||||||
pub fn style_length(style_length: LengthOrPercentageOrAuto,
|
pub fn style_length(style_length: LengthOrPercentageOrAuto,
|
||||||
dom_length: Option<Au>,
|
|
||||||
container_size: Option<Au>) -> MaybeAuto {
|
container_size: Option<Au>) -> MaybeAuto {
|
||||||
match (style_length, dom_length, container_size) {
|
match (style_length, container_size) {
|
||||||
(LengthOrPercentageOrAuto::Length(length), _, _) => MaybeAuto::Specified(length),
|
(LengthOrPercentageOrAuto::Length(length), _) => MaybeAuto::Specified(length),
|
||||||
(LengthOrPercentageOrAuto::Percentage(pc), _, Some(container_size)) => {
|
(LengthOrPercentageOrAuto::Percentage(pc), Some(container_size)) => {
|
||||||
MaybeAuto::Specified(container_size.scale_by(pc))
|
MaybeAuto::Specified(container_size.scale_by(pc))
|
||||||
}
|
}
|
||||||
(LengthOrPercentageOrAuto::Percentage(_), _, None) => MaybeAuto::Auto,
|
(LengthOrPercentageOrAuto::Percentage(_), None) => MaybeAuto::Auto,
|
||||||
(LengthOrPercentageOrAuto::Calc(calc), _, Some(container_size)) => {
|
(LengthOrPercentageOrAuto::Calc(calc), Some(container_size)) => {
|
||||||
MaybeAuto::Specified(calc.length() + container_size.scale_by(calc.percentage()))
|
MaybeAuto::Specified(calc.length() + container_size.scale_by(calc.percentage()))
|
||||||
}
|
}
|
||||||
(LengthOrPercentageOrAuto::Calc(_), _, None) => MaybeAuto::Auto,
|
(LengthOrPercentageOrAuto::Calc(_), None) => MaybeAuto::Auto,
|
||||||
(LengthOrPercentageOrAuto::Auto, Some(dom_length), _) => MaybeAuto::Specified(dom_length),
|
(LengthOrPercentageOrAuto::Auto, _) => MaybeAuto::Auto,
|
||||||
(LengthOrPercentageOrAuto::Auto, None, _) => MaybeAuto::Auto,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -513,7 +496,6 @@ impl ReplacedImageFragmentInfo {
|
||||||
// TODO(ksh8281): compute border,margin
|
// TODO(ksh8281): compute border,margin
|
||||||
let inline_size = ReplacedImageFragmentInfo::style_length(
|
let inline_size = ReplacedImageFragmentInfo::style_length(
|
||||||
style_inline_size,
|
style_inline_size,
|
||||||
self.dom_inline_size,
|
|
||||||
Some(container_inline_size));
|
Some(container_inline_size));
|
||||||
|
|
||||||
let inline_size = match inline_size {
|
let inline_size = match inline_size {
|
||||||
|
@ -528,7 +510,6 @@ impl ReplacedImageFragmentInfo {
|
||||||
|
|
||||||
let specified_height = ReplacedImageFragmentInfo::style_length(
|
let specified_height = ReplacedImageFragmentInfo::style_length(
|
||||||
style_block_size,
|
style_block_size,
|
||||||
self.dom_block_size,
|
|
||||||
None);
|
None);
|
||||||
let specified_height = match specified_height {
|
let specified_height = match specified_height {
|
||||||
MaybeAuto::Auto => intrinsic_height,
|
MaybeAuto::Auto => intrinsic_height,
|
||||||
|
@ -568,7 +549,6 @@ impl ReplacedImageFragmentInfo {
|
||||||
let inline_size = self.computed_inline_size();
|
let inline_size = self.computed_inline_size();
|
||||||
let block_size = ReplacedImageFragmentInfo::style_length(
|
let block_size = ReplacedImageFragmentInfo::style_length(
|
||||||
style_block_size,
|
style_block_size,
|
||||||
self.dom_block_size,
|
|
||||||
containing_block_block_size);
|
containing_block_block_size);
|
||||||
|
|
||||||
let block_size = match block_size {
|
let block_size = match block_size {
|
||||||
|
@ -1342,17 +1322,13 @@ impl Fragment {
|
||||||
result.union_block(&block_flow.base.intrinsic_inline_sizes)
|
result.union_block(&block_flow.base.intrinsic_inline_sizes)
|
||||||
}
|
}
|
||||||
SpecificFragmentInfo::Image(ref mut image_fragment_info) => {
|
SpecificFragmentInfo::Image(ref mut image_fragment_info) => {
|
||||||
// FIXME(pcwalton): Shouldn't `width` and `height` be preshints?
|
let image_inline_size = match self.style.content_inline_size() {
|
||||||
let image_inline_size = match (image_fragment_info.replaced_image_fragment_info
|
LengthOrPercentageOrAuto::Auto |
|
||||||
.dom_inline_size,
|
LengthOrPercentageOrAuto::Percentage(_) => {
|
||||||
self.style.content_inline_size()) {
|
|
||||||
(None, LengthOrPercentageOrAuto::Auto) |
|
|
||||||
(None, LengthOrPercentageOrAuto::Percentage(_)) => {
|
|
||||||
image_fragment_info.image_inline_size()
|
image_fragment_info.image_inline_size()
|
||||||
}
|
}
|
||||||
(Some(dom_inline_size), _) => dom_inline_size,
|
LengthOrPercentageOrAuto::Length(length) => length,
|
||||||
(None, LengthOrPercentageOrAuto::Length(length)) => length,
|
LengthOrPercentageOrAuto::Calc(calc) => calc.length(),
|
||||||
(None, LengthOrPercentageOrAuto::Calc(calc)) => calc.length(),
|
|
||||||
};
|
};
|
||||||
result.union_block(&IntrinsicISizes {
|
result.union_block(&IntrinsicISizes {
|
||||||
minimum_inline_size: image_inline_size,
|
minimum_inline_size: image_inline_size,
|
||||||
|
@ -1360,11 +1336,18 @@ impl Fragment {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
SpecificFragmentInfo::Canvas(ref mut canvas_fragment_info) => {
|
SpecificFragmentInfo::Canvas(ref mut canvas_fragment_info) => {
|
||||||
let canvas_inline_size = canvas_fragment_info.canvas_inline_size();
|
let canvas_inline_size = match self.style.content_inline_size() {
|
||||||
|
LengthOrPercentageOrAuto::Auto |
|
||||||
|
LengthOrPercentageOrAuto::Percentage(_) => {
|
||||||
|
canvas_fragment_info.canvas_inline_size()
|
||||||
|
}
|
||||||
|
LengthOrPercentageOrAuto::Length(length) => length,
|
||||||
|
LengthOrPercentageOrAuto::Calc(calc) => calc.length(),
|
||||||
|
};
|
||||||
result.union_block(&IntrinsicISizes {
|
result.union_block(&IntrinsicISizes {
|
||||||
minimum_inline_size: canvas_inline_size,
|
minimum_inline_size: canvas_inline_size,
|
||||||
preferred_inline_size: canvas_inline_size,
|
preferred_inline_size: canvas_inline_size,
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
SpecificFragmentInfo::ScannedText(ref text_fragment_info) => {
|
SpecificFragmentInfo::ScannedText(ref text_fragment_info) => {
|
||||||
let range = &text_fragment_info.range;
|
let range = &text_fragment_info.range;
|
||||||
|
@ -1876,6 +1859,16 @@ impl Fragment {
|
||||||
ascent: computed_block_size + self.border_padding.block_start,
|
ascent: computed_block_size + self.border_padding.block_start,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
SpecificFragmentInfo::Canvas(ref canvas_fragment_info) => {
|
||||||
|
let computed_block_size = canvas_fragment_info.replaced_image_fragment_info
|
||||||
|
.computed_block_size();
|
||||||
|
InlineMetrics {
|
||||||
|
block_size_above_baseline: computed_block_size +
|
||||||
|
self.border_padding.block_start,
|
||||||
|
depth_below_baseline: self.border_padding.block_end,
|
||||||
|
ascent: computed_block_size + self.border_padding.block_start,
|
||||||
|
}
|
||||||
|
}
|
||||||
SpecificFragmentInfo::ScannedText(ref text_fragment) => {
|
SpecificFragmentInfo::ScannedText(ref text_fragment) => {
|
||||||
// See CSS 2.1 § 10.8.1.
|
// See CSS 2.1 § 10.8.1.
|
||||||
let line_height = self.calculate_line_height(layout_context);
|
let line_height = self.calculate_line_height(layout_context);
|
||||||
|
|
|
@ -43,6 +43,7 @@ use dom::htmlfieldsetelement::HTMLFieldSetElement;
|
||||||
use dom::htmlfontelement::{HTMLFontElement, HTMLFontElementLayoutHelpers};
|
use dom::htmlfontelement::{HTMLFontElement, HTMLFontElementLayoutHelpers};
|
||||||
use dom::htmlhrelement::{HTMLHRElement, HTMLHRLayoutHelpers};
|
use dom::htmlhrelement::{HTMLHRElement, HTMLHRLayoutHelpers};
|
||||||
use dom::htmliframeelement::{HTMLIFrameElement, HTMLIFrameElementLayoutMethods};
|
use dom::htmliframeelement::{HTMLIFrameElement, HTMLIFrameElementLayoutMethods};
|
||||||
|
use dom::htmlimageelement::{HTMLImageElement, LayoutHTMLImageElementHelpers};
|
||||||
use dom::htmlinputelement::{HTMLInputElement, LayoutHTMLInputElementHelpers};
|
use dom::htmlinputelement::{HTMLInputElement, LayoutHTMLInputElementHelpers};
|
||||||
use dom::htmllabelelement::HTMLLabelElement;
|
use dom::htmllabelelement::HTMLLabelElement;
|
||||||
use dom::htmllegendelement::HTMLLegendElement;
|
use dom::htmllegendelement::HTMLLegendElement;
|
||||||
|
@ -392,6 +393,8 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
||||||
|
|
||||||
let width = if let Some(this) = self.downcast::<HTMLIFrameElement>() {
|
let width = if let Some(this) = self.downcast::<HTMLIFrameElement>() {
|
||||||
this.get_width()
|
this.get_width()
|
||||||
|
} else if let Some(this) = self.downcast::<HTMLImageElement>() {
|
||||||
|
this.get_width()
|
||||||
} else if let Some(this) = self.downcast::<HTMLTableElement>() {
|
} else if let Some(this) = self.downcast::<HTMLTableElement>() {
|
||||||
this.get_width()
|
this.get_width()
|
||||||
} else if let Some(this) = self.downcast::<HTMLTableCellElement>() {
|
} else if let Some(this) = self.downcast::<HTMLTableCellElement>() {
|
||||||
|
@ -422,6 +425,8 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
||||||
|
|
||||||
let height = if let Some(this) = self.downcast::<HTMLIFrameElement>() {
|
let height = if let Some(this) = self.downcast::<HTMLIFrameElement>() {
|
||||||
this.get_height()
|
this.get_height()
|
||||||
|
} else if let Some(this) = self.downcast::<HTMLImageElement>() {
|
||||||
|
this.get_height()
|
||||||
} else {
|
} else {
|
||||||
LengthOrPercentageOrAuto::Auto
|
LengthOrPercentageOrAuto::Auto
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
use app_units::Au;
|
||||||
use dom::attr::Attr;
|
use dom::attr::Attr;
|
||||||
use dom::attr::AttrValue;
|
use dom::attr::AttrValue;
|
||||||
use dom::bindings::cell::DOMRefCell;
|
use dom::bindings::cell::DOMRefCell;
|
||||||
|
@ -14,10 +15,11 @@ use dom::bindings::inheritance::Castable;
|
||||||
use dom::bindings::js::{LayoutJS, Root};
|
use dom::bindings::js::{LayoutJS, Root};
|
||||||
use dom::bindings::refcounted::Trusted;
|
use dom::bindings::refcounted::Trusted;
|
||||||
use dom::document::Document;
|
use dom::document::Document;
|
||||||
use dom::element::AttributeMutation;
|
use dom::element::{AttributeMutation, Element, RawLayoutElementHelpers};
|
||||||
use dom::eventtarget::EventTarget;
|
use dom::eventtarget::EventTarget;
|
||||||
use dom::htmlelement::HTMLElement;
|
use dom::htmlelement::HTMLElement;
|
||||||
use dom::node::{Node, NodeDamage, document_from_node, window_from_node};
|
use dom::node::{Node, NodeDamage, document_from_node, window_from_node};
|
||||||
|
use dom::values::UNSIGNED_LONG_MAX;
|
||||||
use dom::virtualmethods::VirtualMethods;
|
use dom::virtualmethods::VirtualMethods;
|
||||||
use ipc_channel::ipc;
|
use ipc_channel::ipc;
|
||||||
use ipc_channel::router::ROUTER;
|
use ipc_channel::router::ROUTER;
|
||||||
|
@ -28,7 +30,7 @@ use script_thread::{CommonScriptMsg, Runnable, ScriptChan};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use string_cache::Atom;
|
use string_cache::Atom;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
use util::str::DOMString;
|
use util::str::{DOMString, LengthOrPercentageOrAuto};
|
||||||
|
|
||||||
#[dom_struct]
|
#[dom_struct]
|
||||||
pub struct HTMLImageElement {
|
pub struct HTMLImageElement {
|
||||||
|
@ -171,6 +173,9 @@ pub trait LayoutHTMLImageElementHelpers {
|
||||||
|
|
||||||
#[allow(unsafe_code)]
|
#[allow(unsafe_code)]
|
||||||
unsafe fn image_url(&self) -> Option<Url>;
|
unsafe fn image_url(&self) -> Option<Url>;
|
||||||
|
|
||||||
|
fn get_width(&self) -> LengthOrPercentageOrAuto;
|
||||||
|
fn get_height(&self) -> LengthOrPercentageOrAuto;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl LayoutHTMLImageElementHelpers for LayoutJS<HTMLImageElement> {
|
impl LayoutHTMLImageElementHelpers for LayoutJS<HTMLImageElement> {
|
||||||
|
@ -183,6 +188,28 @@ impl LayoutHTMLImageElementHelpers for LayoutJS<HTMLImageElement> {
|
||||||
unsafe fn image_url(&self) -> Option<Url> {
|
unsafe fn image_url(&self) -> Option<Url> {
|
||||||
(*self.unsafe_get()).url.borrow_for_layout().clone()
|
(*self.unsafe_get()).url.borrow_for_layout().clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unsafe_code)]
|
||||||
|
fn get_width(&self) -> LengthOrPercentageOrAuto {
|
||||||
|
unsafe {
|
||||||
|
(*self.upcast::<Element>().unsafe_get())
|
||||||
|
.get_attr_for_layout(&ns!(), &atom!("width"))
|
||||||
|
.map(AttrValue::as_dimension)
|
||||||
|
.cloned()
|
||||||
|
.unwrap_or(LengthOrPercentageOrAuto::Auto)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[allow(unsafe_code)]
|
||||||
|
fn get_height(&self) -> LengthOrPercentageOrAuto {
|
||||||
|
unsafe {
|
||||||
|
(*self.upcast::<Element>().unsafe_get())
|
||||||
|
.get_attr_for_layout(&ns!(), &atom!("height"))
|
||||||
|
.map(AttrValue::as_dimension)
|
||||||
|
.cloned()
|
||||||
|
.unwrap_or(LengthOrPercentageOrAuto::Auto)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl HTMLImageElementMethods for HTMLImageElement {
|
impl HTMLImageElementMethods for HTMLImageElement {
|
||||||
|
@ -214,7 +241,9 @@ impl HTMLImageElementMethods for HTMLImageElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-img-width
|
// https://html.spec.whatwg.org/multipage/#dom-img-width
|
||||||
make_uint_setter!(SetWidth, "width");
|
fn SetWidth(&self, value: u32) {
|
||||||
|
image_dimension_setter(self.upcast(), atom!("width"), value);
|
||||||
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-img-height
|
// https://html.spec.whatwg.org/multipage/#dom-img-height
|
||||||
fn Height(&self) -> u32 {
|
fn Height(&self) -> u32 {
|
||||||
|
@ -224,7 +253,9 @@ impl HTMLImageElementMethods for HTMLImageElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-img-height
|
// https://html.spec.whatwg.org/multipage/#dom-img-height
|
||||||
make_uint_setter!(SetHeight, "height");
|
fn SetHeight(&self, value: u32) {
|
||||||
|
image_dimension_setter(self.upcast(), atom!("height"), value);
|
||||||
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-img-naturalwidth
|
// https://html.spec.whatwg.org/multipage/#dom-img-naturalwidth
|
||||||
fn NaturalWidth(&self) -> u32 {
|
fn NaturalWidth(&self) -> u32 {
|
||||||
|
@ -310,9 +341,22 @@ impl VirtualMethods for HTMLImageElement {
|
||||||
fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue {
|
fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue {
|
||||||
match name {
|
match name {
|
||||||
&atom!("name") => AttrValue::from_atomic(value),
|
&atom!("name") => AttrValue::from_atomic(value),
|
||||||
&atom!("width") | &atom!("height") |
|
&atom!("width") | &atom!("height") => AttrValue::from_dimension(value),
|
||||||
&atom!("hspace") | &atom!("vspace") => AttrValue::from_u32(value, 0),
|
&atom!("hspace") | &atom!("vspace") => AttrValue::from_u32(value, 0),
|
||||||
_ => self.super_type().unwrap().parse_plain_attribute(name, value),
|
_ => self.super_type().unwrap().parse_plain_attribute(name, value),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn image_dimension_setter(element: &Element, attr: Atom, value: u32) {
|
||||||
|
// This setter is a bit weird: the IDL type is unsigned long, but it's parsed as
|
||||||
|
// a dimension for rendering.
|
||||||
|
let value = if value > UNSIGNED_LONG_MAX {
|
||||||
|
0
|
||||||
|
} else {
|
||||||
|
value
|
||||||
|
};
|
||||||
|
let dim = LengthOrPercentageOrAuto::Length(Au::from_px(value as i32));
|
||||||
|
let value = AttrValue::Dimension(DOMString::from(value.to_string()), dim);
|
||||||
|
element.set_attribute(&attr, value);
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-001.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-002.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-003.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-006.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-007.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-008.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-009.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-010.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-014.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-018.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-022.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[absolute-replaced-width-006.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[absolute-replaced-width-020.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[absolute-replaced-width-041.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[absolute-replaced-width-055.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[absolute-replaced-width-069.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-001.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-002.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-003.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-006.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-007.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-008.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-009.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-010.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-014.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-018.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-022.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-087.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-182.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-image-cover-002.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-image-cover-004.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-image-cover-attachment-001.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-image-transparency-001.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-repeat-001.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-repeat-002.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-repeat-003.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[background-repeat-005.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[block-replaced-width-006.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-bottom-width-003.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-bottom-width-025.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-bottom-width-058.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-bottom-width-069.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-top-width-025.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-top-width-058.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border-top-width-069.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[float-replaced-width-011.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[inline-block-replaced-width-006.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[inline-replaced-width-006.htm]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
File diff suppressed because it is too large
Load diff
|
@ -12,30 +12,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -48,30 +24,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -84,30 +36,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -120,30 +48,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -156,30 +60,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -192,30 +72,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -228,30 +84,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -264,30 +96,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -300,30 +108,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -336,30 +120,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -372,30 +132,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -408,30 +144,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -444,30 +156,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -480,30 +168,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -516,30 +180,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -552,30 +192,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -588,30 +204,6 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -624,27 +216,3 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -18,24 +18,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -54,24 +42,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -90,24 +66,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -126,24 +90,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -162,24 +114,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -198,24 +138,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -234,24 +162,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -270,24 +186,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -306,24 +210,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -342,24 +234,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -378,24 +258,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -414,24 +282,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -450,24 +306,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -486,24 +330,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -522,24 +354,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -558,24 +378,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -594,24 +402,12 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -630,21 +426,9 @@
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
[placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<meta charset=utf-8>
|
||||||
|
<title>img width/height - reference</title>
|
||||||
|
<style>
|
||||||
|
p { width: 50px; height: 50px; }
|
||||||
|
</style>
|
||||||
|
<p><img src=/images/green.png>
|
||||||
|
<p><img src=/images/green.png style="width: 10px">
|
||||||
|
<p><img src=/images/green.png style="height: 10px">
|
||||||
|
<p><img src=/images/green.png style="width: 10%">
|
||||||
|
<p><img src=/images/green.png style="height: 10%">
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<meta charset=utf-8>
|
||||||
|
<title>img width/height</title>
|
||||||
|
<link rel=match href=img-dim-ref.html>
|
||||||
|
<style>
|
||||||
|
p { width: 50px; height: 50px; }
|
||||||
|
</style>
|
||||||
|
<p><img src=/images/green.png>
|
||||||
|
<p><img src=/images/green.png width=10>
|
||||||
|
<p><img src=/images/green.png height=10>
|
||||||
|
<p><img src=/images/green.png width=10%>
|
||||||
|
<p><img src=/images/green.png height=10%>
|
Loading…
Add table
Add a link
Reference in a new issue