Skip to content

Commit 791aa60

Browse files
committed
more tests
1 parent 2792b02 commit 791aa60

File tree

3 files changed

+10940
-0
lines changed

3 files changed

+10940
-0
lines changed

Diff for: src/test/java/org/htmlunit/cssparser/parser/CSS3ParserTest.java

+26
Original file line numberDiff line numberDiff line change
@@ -4171,6 +4171,32 @@ public void realWorldBootstrap400() throws Exception {
41714171
realWorld("realworld/bootstrap_4_0_0_min.css", 1033, 2470, media, 0, 0);
41724172
}
41734173

4174+
/**
4175+
* @throws Exception if any error occurs
4176+
*/
4177+
@Test
4178+
public void realWorldBootstrap520() throws Exception {
4179+
final String media = "(max-width: 1199.98px);"
4180+
+ "(max-width: 1199.98px) and (prefers-reduced-motion: reduce);"
4181+
+ "(max-width: 1399.98px);(max-width: 1399.98px) and (prefers-reduced-motion: reduce);"
4182+
+ "(max-width: 575.98px);"
4183+
+ "(max-width: 575.98px) and (prefers-reduced-motion: reduce);"
4184+
+ "(max-width: 767.98px);"
4185+
+ "(max-width: 767.98px) and (prefers-reduced-motion: reduce);"
4186+
+ "(max-width: 991.98px);"
4187+
+ "(max-width: 991.98px) and (prefers-reduced-motion: reduce);"
4188+
+ "(min-width: 1200px);"
4189+
+ "(min-width: 1400px);"
4190+
+ "(min-width: 576px);"
4191+
+ "(min-width: 768px);"
4192+
+ "(min-width: 992px);"
4193+
+ "(prefers-reduced-motion: no-preference);"
4194+
+ "(prefers-reduced-motion: reduce);"
4195+
+ "print;";
4196+
realWorld("realworld/bootstrap_5_2_0.css", 1198, 3018, media, 55, 0);
4197+
realWorld("realworld/bootstrap_5_2_0.min.css", 1198, 3018, media, 55, 0);
4198+
}
4199+
41744200
/**
41754201
* @throws Exception if any error occurs
41764202
*/

0 commit comments

Comments
 (0)