mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Test for bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen, a=test-only.
This commit is contained in:
parent
15a3c672da
commit
af2e0016e4
@ -79,6 +79,7 @@ _TEST_FILES = adoption01.dat \
|
|||||||
tests23.dat \
|
tests23.dat \
|
||||||
tests24.dat \
|
tests24.dat \
|
||||||
tests25.dat \
|
tests25.dat \
|
||||||
|
tests26.dat \
|
||||||
tests2.dat \
|
tests2.dat \
|
||||||
tests3.dat \
|
tests3.dat \
|
||||||
tests4.dat \
|
tests4.dat \
|
||||||
|
@ -0,0 +1,195 @@
|
|||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><a href='#1'><nobr>1<nobr></a><br><a href='#2'><nobr>2<nobr></a><br><a href='#3'><nobr>3<nobr></a>
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <a>
|
||||||
|
| href="#1"
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <br>
|
||||||
|
| <a>
|
||||||
|
| href="#2"
|
||||||
|
| <a>
|
||||||
|
| href="#2"
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <br>
|
||||||
|
| <a>
|
||||||
|
| href="#3"
|
||||||
|
| <a>
|
||||||
|
| href="#3"
|
||||||
|
| <nobr>
|
||||||
|
| "3"
|
||||||
|
| <nobr>
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| "3"
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| "3"
|
||||||
|
| <table>
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <table>
|
||||||
|
| <tbody>
|
||||||
|
| <tr>
|
||||||
|
| <td>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| "3"
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <div>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| "3"
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <nobr>
|
||||||
|
| <div>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| "3"
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <nobr>
|
||||||
|
| <ins>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| <nobr>
|
||||||
|
| "1"
|
||||||
|
| <ins>
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| "2"
|
||||||
|
|
||||||
|
#data
|
||||||
|
<!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>
|
||||||
|
#errors
|
||||||
|
#document
|
||||||
|
| <!DOCTYPE html>
|
||||||
|
| <html>
|
||||||
|
| <head>
|
||||||
|
| <body>
|
||||||
|
| <b>
|
||||||
|
| "1"
|
||||||
|
| <nobr>
|
||||||
|
| <nobr>
|
||||||
|
| <i>
|
||||||
|
| <i>
|
||||||
|
| <nobr>
|
||||||
|
| "2"
|
@ -26,6 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=366936
|
|||||||
"tests23.dat",
|
"tests23.dat",
|
||||||
"tests24.dat",
|
"tests24.dat",
|
||||||
"tests25.dat",
|
"tests25.dat",
|
||||||
|
"tests26.dat",
|
||||||
"tests2.dat",
|
"tests2.dat",
|
||||||
"tests3.dat",
|
"tests3.dat",
|
||||||
"tests4.dat",
|
"tests4.dat",
|
||||||
|
Loading…
Reference in New Issue
Block a user