From f4e186c2946c40ffbc03dfaf383e067333fc0852 Mon Sep 17 00:00:00 2001 From: gennyble Date: Wed, 27 Dec 2023 15:06:29 -0600 Subject: parses inline script/style --- tests/homepage.rs | 7 --- tests/nyble_pages.rs | 13 ++++++ tests/touching_grass.html | 107 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 7 deletions(-) delete mode 100644 tests/homepage.rs create mode 100644 tests/nyble_pages.rs create mode 100644 tests/touching_grass.html diff --git a/tests/homepage.rs b/tests/homepage.rs deleted file mode 100644 index da36b1c..0000000 --- a/tests/homepage.rs +++ /dev/null @@ -1,7 +0,0 @@ -use cutie::Html; - -#[test] -fn pares_homepage() { - let str = std::fs::read_to_string("tests/nyble.html").unwrap(); - let html = Html::parse(&str); -} diff --git a/tests/nyble_pages.rs b/tests/nyble_pages.rs new file mode 100644 index 0000000..14ca1cc --- /dev/null +++ b/tests/nyble_pages.rs @@ -0,0 +1,13 @@ +use cutie::Html; + +#[test] +fn pares_homepage() { + let str = std::fs::read_to_string("tests/nyble.html").unwrap(); + let html = Html::parse(&str); +} + +#[test] +fn parses_grass() { + let str = std::fs::read_to_string("tests/touching_grass.html").unwrap(); + let html = Html::parse(&str); +} diff --git a/tests/touching_grass.html b/tests/touching_grass.html new file mode 100644 index 0000000..de90798 --- /dev/null +++ b/tests/touching_grass.html @@ -0,0 +1,107 @@ + + + + + + + + Touching Grass | nyble.dev + + + + + + + + + + +
+

Touching Grass

+
+ + +
+ + +

+ I took this short video to send to a friend one day and accidentally + made a 106 frame masterpiece. Well, that's hyperbolic. But there's a + lot I enjoy about it. +

+

+ The contrast between my orange painted nails and the surprisingly + green grass is pretty pleasing. I think the gentle brown of the brick + in the bottom-left corner helps keep from an overwhelming greenery. + Thanks bricks :) +

+

+ The accidental camera movement is nice, too. I like the angle the camera is at and the way it wobbles. + It's clearly hand-held. At 1.3-ish-seconds + you can see I gently sway forward, but seem to be less wobbly. I'm braced; + I'm stable! I have-three-points-of-contact-with-the-ground! Then, at roughly + 2 seconds when the grass finally + yields, I get rocked back and wobbles resume. +

+

+ The sound! And the sound. The ripping of the grass. That planty matter finally giving way. The fibrous + tearing. + I just like it; I enjoy it! I greatly appreciate it. +

+ +
+ + + + + \ No newline at end of file -- cgit 1.4.1-3-g733a5