|
797 | 797 | t.a( '<p><i foo="2">this {is some sample} text</i></p>',
|
798 | 798 | '<p><i foo="2">this <b foo="1">is some sample</b> text</i></p>', 'tc8' );
|
799 | 799 |
|
| 800 | + t.r( '<p><b bar="3" foo="2">this {is some sample} text</b></p>', |
| 801 | + '<p><b bar="3" foo="2">this </b><b bar="3">is some sample</b><b bar="3" foo="2"> text</b></p>', 'tc2 - remove style step' ); |
| 802 | + |
800 | 803 |
|
801 | 804 | t = createAssertionFunction2( tcs, 'test apply inline style - do not duplicate with overridable styles - styles',
|
802 | 805 | {
|
|
829 | 832 | t.a( '<p><b style="font-size:8px;">this {is some sample} text</b></p>',
|
830 | 833 | '<p><b style="font-size:8px;">this <b style="font-size:20px;">is some sample</b> text</b></p>', 'tc6' );
|
831 | 834 |
|
| 835 | + t.r( '<p><b bar="3">this {is some sample} text</b></p>', |
| 836 | + '<p><b bar="3">this is some sample text</b></p>', 'tc4 - remove style step' ); |
| 837 | + t.r( '<p><b style="font-color:red;">this {is some sample} text</b></p>', |
| 838 | + '<p><b style="font-color:red;">this is some sample text</b></p>', 'tc5 - remove style step' ); |
| 839 | + t.r( '<p><b style="font-size:8px;">this {is some sample} text</b></p>', |
| 840 | + '<p><b style="font-size:8px;">this is some sample text</b></p>', 'tc6 - remove style step' ); |
| 841 | + |
832 | 842 |
|
833 | 843 | t = createAssertionFunction2( tcs, 'test apply inline style - do not duplicate with overridable styles - pattern',
|
834 | 844 | {
|
|
865 | 875 | t.a( '<p><i foo="2">this {is some sample} text</i></p>',
|
866 | 876 | '<p><i foo="2">this <b foo="1">is some sample</b> text</i></p>', 'tc8' );
|
867 | 877 |
|
| 878 | + t.r( '<p><b bar="3" foo="2">this {is some sample} text</b></p>', |
| 879 | + '<p><b bar="3" foo="2">this </b><b bar="3">is some sample</b><b bar="3" foo="2"> text</b></p>', 'tc3 - remove style step' ); |
| 880 | + t.r( '<p><b style="font-size:12px;">this {is some sample} text</b></p>', |
| 881 | + '<p><b style="font-size:12px;">this </b>is some sample<b style="font-size:12px;"> text</b></p>', 'tc4 - remove style step' ); |
| 882 | + t.r( '<p><b foo="2" style="font-size:12px;">this {is some sample} text</b></p>', |
| 883 | + '<p><b foo="2" style="font-size:12px;">this </b>is some sample<b foo="2" style="font-size:12px;"> text</b></p>', 'tc5 - remove style step' ); |
| 884 | + |
868 | 885 |
|
869 | 886 | //
|
870 | 887 | // Non-editable content ---------------------------------------------------
|
|
0 commit comments