aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock4
-rw-r--r--components/gfx/display_list/mod.rs2
-rw-r--r--components/layout/webrender_helpers.rs1
-rw-r--r--tests/wpt/metadata-css/css-backgrounds-3_dev/html4/css3-box-shadow.htm.ini5
4 files changed, 7 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 11223a6fdf4..6da720069f4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3585,7 +3585,7 @@ dependencies = [
[[package]]
name = "webrender"
version = "0.52.1"
-source = "git+https://github.com/servo/webrender#5e30fb4168a22440d91066c246eb16e35eb84e91"
+source = "git+https://github.com/servo/webrender#6a7b5381b21805f4e3a15cda3bbe8466bc916485"
dependencies = [
"app_units 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -3613,7 +3613,7 @@ dependencies = [
[[package]]
name = "webrender_api"
version = "0.52.1"
-source = "git+https://github.com/servo/webrender#5e30fb4168a22440d91066c246eb16e35eb84e91"
+source = "git+https://github.com/servo/webrender#6a7b5381b21805f4e3a15cda3bbe8466bc916485"
dependencies = [
"app_units 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/components/gfx/display_list/mod.rs b/components/gfx/display_list/mod.rs
index 9915328ad5d..b9c43e644b4 100644
--- a/components/gfx/display_list/mod.rs
+++ b/components/gfx/display_list/mod.rs
@@ -1153,8 +1153,6 @@ pub struct DefineClipScrollNodeItem {
/// How a box shadow should be clipped.
#[derive(Clone, Copy, Debug, Deserialize, MallocSizeOf, PartialEq, Serialize)]
pub enum BoxShadowClipMode {
- /// No special clipping should occur. This is used for (shadowed) text decorations.
- None,
/// The area inside `box_bounds` should be clipped out. Corresponds to the normal CSS
/// `box-shadow`.
Outset,
diff --git a/components/layout/webrender_helpers.rs b/components/layout/webrender_helpers.rs
index 4477294fced..4ddb48331ce 100644
--- a/components/layout/webrender_helpers.rs
+++ b/components/layout/webrender_helpers.rs
@@ -73,7 +73,6 @@ trait ToBoxShadowClipMode {
impl ToBoxShadowClipMode for BoxShadowClipMode {
fn to_clip_mode(&self) -> webrender_api::BoxShadowClipMode {
match *self {
- BoxShadowClipMode::None => webrender_api::BoxShadowClipMode::None,
BoxShadowClipMode::Inset => webrender_api::BoxShadowClipMode::Inset,
BoxShadowClipMode::Outset => webrender_api::BoxShadowClipMode::Outset,
}
diff --git a/tests/wpt/metadata-css/css-backgrounds-3_dev/html4/css3-box-shadow.htm.ini b/tests/wpt/metadata-css/css-backgrounds-3_dev/html4/css3-box-shadow.htm.ini
new file mode 100644
index 00000000000..5ffb919a39a
--- /dev/null
+++ b/tests/wpt/metadata-css/css-backgrounds-3_dev/html4/css3-box-shadow.htm.ini
@@ -0,0 +1,5 @@
+[css3-box-shadow.htm]
+ type: reftest
+ expected:
+ if os == "linux": FAIL
+ bug: https://github.com/servo/webrender/issues/1776