Skip to content

Commit 4e46c2e

Browse files
#19: Updated the golden files and added an extra case to the main.dart
1 parent b4eb198 commit 4e46c2e

8 files changed

+7
-3
lines changed

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const htmlData = """
5151
<p>The should be <span style='color: red;'>RED style='color: red;'</span></p>
5252
<p>The should be <span style='color: rgba(0, 0, 0, 0.10);'>BLACK with 10% alpha style='color: rgba(0, 0, 0, 0.10);</span></p>
5353
<p>The should be <span style='color: rgb(0, 97, 0);'>GREEN style='color: rgb(0, 97, 0);</span></p>
54+
<p>The should be <span style='background-color: red; color: rgb(0, 97, 0);'>GREEN style='color: rgb(0, 97, 0);</span></p>
5455
<h3>Table support (with custom styling!):</h3>
5556
<p>
5657
<q>Famous quote...</q>
3.52 KB
Loading
3.52 KB
Loading
3.51 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/test_data.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,12 @@ const testData = <String, String>{
5959
'section': '<section>Hello, World!</section>',
6060
'small': '<small>Hello, World!</small>',
6161
'span': '<span>Hello, World!</span>',
62-
'span-with-inline-styles': '<p>Hello, <span style="color: red">World!</span></p>',
63-
'span-with-inline-styles-rgb': '<p>Hello, <span style="color: rgb(252, 186, 3)">World!</span></p>',
64-
'span-with-inline-styles-rgba': '<p>Hello, <span style="color: rgba(252, 186, 3,0.5)">World!</span></p>',
62+
'span-with-inline-css-color': '<p>Hello, <span style="color: red;">World!</span></p>',
63+
'span-with-inline-css-color-rgb': '<p>Hello, <span style="color: rgb(252, 186, 3);">World!</span></p>',
64+
'span-with-inline-css-color-rgba': '<p>Hello, <span style="color: rgba(252, 186, 3,0.5);">World!</span></p>',
65+
'span-with-inline-css-backgroundcolor': '<p>Hello, <span style="background-color: red; color: rgba(0, 0, 0,0.5);">World!</span></p>',
66+
'span-with-inline-css-backgroundcolor-rgb': '<p>Hello, <span style="background-color: rgb(252, 186, 3); color: rgba(0, 0, 0,0.5);">World!</span></p>',
67+
'span-with-inline-css-backgroundcolor-rgba': '<p>Hello, <span style="background-color: rgba(252, 186, 3,0.5); color: rgba(0, 0, 0,0.5);">World!</span></p>',
6568
'strike': '<strike>Hello, World!</strike>',
6669
'strong': '<strong>Hello, World!</strong>',
6770
'sub': '<sub>Hello, World!</sub>',

0 commit comments

Comments
 (0)