aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-03-27 09:18:12 +0000
committerJames Graham <james@hoppipolla.co.uk>2015-04-03 23:29:19 +0100
commit2c9faf5363be229498578bdeca55c0c52730f0fa (patch)
treee070d5d12a587f1e1939410b2cd88450543d7534 /tests/wpt/css-tests/css-text-3_dev/xhtml1/reference
parent1a81b18b9f22d7bc1a967d08fcc7fbcf2ee200f5 (diff)
downloadservo-2c9faf5363be229498578bdeca55c0c52730f0fa.tar.gz
servo-2c9faf5363be229498578bdeca55c0c52730f0fa.zip
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
Diffstat (limited to 'tests/wpt/css-tests/css-text-3_dev/xhtml1/reference')
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-001-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-002-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-003-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-004-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-005-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-006-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-007-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-008-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-009-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-010-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-011-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-012-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-013-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-014-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-015-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-016-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-017-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-018-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-019-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-020-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-021-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-022-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-023-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-024-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-025-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-026-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-027-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-028-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-029-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-030-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-031-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-032-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-033-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-034-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-035-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-036-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-037-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-038-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-039-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-040-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-041-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-042-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-043-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-044-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-045-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-046-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-047-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-048-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-049-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-050-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-051-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-052-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-054-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-055-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-056-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-057-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-058-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-059-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-060-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-101-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-102-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-103-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-104-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-105-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-106-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-107-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-108-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-109-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-110-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-111-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-112-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-113-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-114-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-115-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-116-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-117-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-118-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-119-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-120-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-121-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-122-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-123-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-124-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-125-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-126-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-127-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-128-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-129-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-130-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-131-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-132-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-133-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-134-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-135-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-136-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-137-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-138-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-139-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-140-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-141-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-142-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-143-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-144-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-145-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-146-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-147-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-148-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-149-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-150-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-151-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-152-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-154-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-155-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-156-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-157-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-158-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-159-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-160-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-201-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-202-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-203-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-204-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-205-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-206-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-207-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-208-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-209-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-210-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-211-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-212-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-213-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-214-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-215-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-216-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-217-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-218-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-219-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-220-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-221-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-222-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-223-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-224-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-225-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-226-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-227-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-228-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-229-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-230-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-231-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-232-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-233-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-234-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-235-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-236-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-237-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-238-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-239-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-240-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-241-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-242-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-243-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-244-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-245-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-246-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-247-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-248-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-249-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-250-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-251-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-252-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-254-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-255-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-256-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-257-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-258-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-259-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-260-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-301-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-302-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-303-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-304-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-305-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-306-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-307-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-308-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-309-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-310-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-311-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-312-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-313-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-314-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-315-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-316-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-317-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-318-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-319-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-320-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-321-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-322-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-323-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-324-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-325-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-326-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-327-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-351-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-352-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-353-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-354-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-355-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-356-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-357-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-358-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-359-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-360-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-361-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-362-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-363-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-364-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-365-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-366-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-367-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-368-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-369-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-370-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-371-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-372-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-373-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-374-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-375-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-376-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-377-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-401-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-402-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-403-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-404-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-405-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-406-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-407-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-408-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-409-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-410-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-411-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-412-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-413-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-414-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-415-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-416-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-417-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-418-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-419-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-420-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-421-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-422-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-423-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-424-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-425-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-426-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-427-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-001-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-002-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-003-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-004-ref.xht34
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-005-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-006-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-007-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-008-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-009-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-010-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-011-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-012-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-013-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-014-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-015-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-016-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-017-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-018-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-019-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-020-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-021-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-022-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-023-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-024-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-025-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-026-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-027-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-028-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-029-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-030-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-031-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-032-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-033-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-034-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-035-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-036-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-037-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-038-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-039-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-040-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-041-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-042-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-043-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-044-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-045-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-046-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-047-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-048-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-049-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-050-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-051-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-052-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-053-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-054-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-055-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-056-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-057-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-058-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-059-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-060-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-061-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-062-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-063-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-064-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-065-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-100-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-101-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-102-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-103-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-104-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-105-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-106-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-107-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-108-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-109-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-110-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-111-ref.xht34
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-112-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-113-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-114-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-115-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-116-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-117-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-118-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-119-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-120-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-121-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-122-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-123-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-124-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-125-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-126-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-127-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-128-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-129-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-130-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-131-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-132-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-133-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-134-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-135-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-136-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-137-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-138-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-139-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-140-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-141-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-142-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-143-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-144-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-145-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-146-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-147-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-148-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-149-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-150-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-151-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-152-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-153-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-154-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-155-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-156-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-157-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-158-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-159-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-160-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-161-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-162-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-163-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-164-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-165-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-166-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-167-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-168-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-169-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-170-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-171-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-200-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-201-ref.xht34
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-202-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-203-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-204-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-205-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-206-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-207-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-208-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-209-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-210-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-211-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-212-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-213-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-214-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-215-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-216-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-217-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-218-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-219-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-220-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-221-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-222-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-223-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-224-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-225-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-226-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-250-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-251-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-252-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-253-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-254-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-255-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-256-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-257-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-258-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-259-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-260-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-261-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-262-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-263-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-264-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-265-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-266-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-267-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-268-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-269-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-horizontal-notref.xht23
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-notcu-notref.xht23
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-ref.xht28
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-allow-end-001-ref.xht87
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-first-001-ref.xht91
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-force-end-001-ref.xht87
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-last-001-ref.xht87
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-021-ref.xht76
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-022-ref.xht49
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-023-ref.xht145
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-024-ref.xht105
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-025-ref.xht97
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-011-ref.xht73
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-012-ref.xht49
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-013-ref.xht62
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-014-ref.xht76
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-015-ref.xht49
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-016-ref.xht145
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-017-ref.xht105
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-018-ref.xht97
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-001-ref.xht15
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-002-ref.xht20
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-003-ref.xht15
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-004-ref.xht15
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-green.pngbin0 -> 135 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-lime.pngbin0 -> 135 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-maroon.pngbin0 -> 109 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-navy.pngbin0 -> 109 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-red.pngbin0 -> 135 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-white.pngbin0 -> 109 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-gg-rr.pngbin0 -> 224 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-green.pngbin0 -> 218 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-red.pngbin0 -> 217 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/BPG-Ucnobi-U.woffbin0 -> 33144 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/GentiumPlus-R.woffbin0 -> 622724 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/a-green.css1
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/b-green.css1
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/c-red.css1
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/cat.pngbin0 -> 1883 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-black.pngbin0 -> 219 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-blue.pngbin0 -> 217 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/mplus-1p-regular.woffbin0 -> 803300 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-gg-gr.pngbin0 -> 203 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rgr-grg.pngbin0 -> 222 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rrg-rgg.pngbin0 -> 231 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-rgr-grg-rgr.pngbin0 -> 223 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-tr.pngbin0 -> 137 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50%.pngbin0 -> 691 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50px.pngbin0 -> 671 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-100px.pngbin0 -> 760 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-50px.pngbin0 -> 757 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-purple.pngbin0 -> 92 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-teal.pngbin0 -> 92 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-white.pngbin0 -> 78 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/support/README4
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-blue.pngbin0 -> 84 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-green.pngbin0 -> 84 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-lime.pngbin0 -> 84 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-orange.pngbin0 -> 84 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-red.pngbin0 -> 84 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-white.pngbin0 -> 85 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-yellow.pngbin0 -> 84 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-bl.pngbin0 -> 1368 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-br.pngbin0 -> 1045 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-inner-half-size.pngbin0 -> 180 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-outer.pngbin0 -> 2412 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tl.pngbin0 -> 1025 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tr.pngbin0 -> 1235 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-integer-001-ref.xht30
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-length-001-ref.xht27
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-006-ref.xht14
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-007-ref.xht15
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-last-010-ref.xht15
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-color-001-ref.xht145
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-001-ref.xht57
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-002-ref.xht64
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-001-ref.xht57
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-002-ref.xht65
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-001-ref.xht53
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-002-ref.xht64
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-001-ref.xht53
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-002-ref.xht65
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-filled-001-ref.xht142
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-none-001-ref.xht55
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-open-001-ref.xht142
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-shape-001-ref.xht129
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-string-001-ref.xht77
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-indent-percentage-001-ref.xht33
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-capitalize-001-ref.xht25
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-fullwidth-001-ref.xht341
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-lowercase-001-ref.xht25
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-none-001-ref.xht25
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-uppercase-001-ref.xht25
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-discard-001-ref.xht25
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-preserve-breaks-001-ref.xht31
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-trim-inner-001-ref.xht35
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-break-all-001-ref.xht55
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-keep-all-001-ref.xht54
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-normal-001-ref.xht51
541 files changed, 18725 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-001-ref.xht
new file mode 100644
index 00000000000..2e600b33199
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-001-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3041 HIRAGANA LETTER SMALL A (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かぁな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かぁな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-002-ref.xht
new file mode 100644
index 00000000000..53bb8ebfe24
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-002-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3043 HIRAGANA LETTER SMALL I (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かぃな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かぃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-003-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-003-ref.xht
new file mode 100644
index 00000000000..357166a29f8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-003-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3045 HIRAGANA LETTER SMALL U (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かぅな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かぅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-004-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-004-ref.xht
new file mode 100644
index 00000000000..3f5c95bda8c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-004-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3047 HIRAGANA LETTER SMALL E (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かぇな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かぇな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-005-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-005-ref.xht
new file mode 100644
index 00000000000..01bd48f741c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-005-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3049 HIRAGANA LETTER SMALL O (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かぉな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かぉな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-006-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-006-ref.xht
new file mode 100644
index 00000000000..abd1b160fa3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-006-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3063 HIRAGANA LETTER SMALL TU (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かっな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かっな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-007-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-007-ref.xht
new file mode 100644
index 00000000000..239d07593c3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-007-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3083 HIRAGANA LETTER SMALL YA (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゃな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-008-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-008-ref.xht
new file mode 100644
index 00000000000..3e6bec92857
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-008-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3085 HIRAGANA LETTER SMALL YU (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゅな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-009-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-009-ref.xht
new file mode 100644
index 00000000000..58979f976da
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-009-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3087 HIRAGANA LETTER SMALL YO (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かょな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かょな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-010-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-010-ref.xht
new file mode 100644
index 00000000000..774f050ba6e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-010-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 308E HIRAGANA LETTER SMALL WA (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゎな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゎな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-011-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-011-ref.xht
new file mode 100644
index 00000000000..469e34d8d88
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-011-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3095 HIRAGANA LETTER SMALL KA (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゕな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゕな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-012-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-012-ref.xht
new file mode 100644
index 00000000000..7793a02afe3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-012-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3096 HIRAGANA LETTER SMALL KE (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゖな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゖな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-013-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-013-ref.xht
new file mode 100644
index 00000000000..b21fec5c65c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-013-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A1 KATAKANA LETTER SMALL A (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カァナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カァナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-014-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-014-ref.xht
new file mode 100644
index 00000000000..d2175662968
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-014-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A3 KATAKANA LETTER SMALL I (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カィナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カィナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-015-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-015-ref.xht
new file mode 100644
index 00000000000..1c6b7963551
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-015-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A5 KATAKANA LETTER SMALL U (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カゥナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カゥナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-016-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-016-ref.xht
new file mode 100644
index 00000000000..f6c89e365ad
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-016-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A7 KATAKANA LETTER SMALL E (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カェナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カェナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-017-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-017-ref.xht
new file mode 100644
index 00000000000..527a8bdb139
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-017-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A9 KATAKANA LETTER SMALL O (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カォナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カォナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-018-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-018-ref.xht
new file mode 100644
index 00000000000..00dbbec3440
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-018-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30C3 KATAKANA LETTER SMALL TU (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カッナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カッナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-019-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-019-ref.xht
new file mode 100644
index 00000000000..0aa2b7fbdad
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-019-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E3 KATAKANA LETTER SMALL YA (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カャナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カャナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-020-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-020-ref.xht
new file mode 100644
index 00000000000..73233e5a207
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-020-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E5 KATAKANA LETTER SMALL YU (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カュナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カュナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-021-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-021-ref.xht
new file mode 100644
index 00000000000..b007088c6e0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-021-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E7 KATAKANA LETTER SMALL YO (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カョナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カョナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-022-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-022-ref.xht
new file mode 100644
index 00000000000..a2bda53844c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-022-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30EE KATAKANA LETTER SMALL WA (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヮナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヮナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-023-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-023-ref.xht
new file mode 100644
index 00000000000..5c656bbff46
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-023-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30F5 KATAKANA LETTER SMALL KA (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヵナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヵナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-024-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-024-ref.xht
new file mode 100644
index 00000000000..02a128f757b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-024-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30F6 KATAKANA LETTER SMALL KE (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヶナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヶナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-025-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-025-ref.xht
new file mode 100644
index 00000000000..5954acb59f1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-025-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カーナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カーナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-026-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-026-ref.xht
new file mode 100644
index 00000000000..f892131c59d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-026-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2010 HYPHEN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‐文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-027-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-027-ref.xht
new file mode 100644
index 00000000000..54382189a69
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-027-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2013 EN DASH (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中–文</div>
+
+
+
+
+
+<div class="ref">中中<br />中–文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-028-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-028-ref.xht
new file mode 100644
index 00000000000..ffe45aeb439
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-028-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〜文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-029-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-029-ref.xht
new file mode 100644
index 00000000000..1d890929f80
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-029-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A0 KATAKANA-HIRAGANA DOUBLE HYPHEN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />か゠な</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />か゠な</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-030-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-030-ref.xht
new file mode 100644
index 00000000000..ec924b3d094
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-030-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-031-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-031-ref.xht
new file mode 100644
index 00000000000..209450cd839
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-031-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-032-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-032-ref.xht
new file mode 100644
index 00000000000..0be7be1d35f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-032-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309D HIRAGANA ITERATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゝな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゝな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-033-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-033-ref.xht
new file mode 100644
index 00000000000..c67b7f949e4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-033-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309E HIRAGANA VOICED ITERATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゞな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゞな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-034-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-034-ref.xht
new file mode 100644
index 00000000000..571f3433599
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-034-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FD KATAKANA ITERATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヽナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヽナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-035-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-035-ref.xht
new file mode 100644
index 00000000000..4f6e207b23a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-035-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FE KATAKANA VOICED ITERATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヾナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヾナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-036-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-036-ref.xht
new file mode 100644
index 00000000000..925bd076451
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-036-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003A COLON (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-037-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-037-ref.xht
new file mode 100644
index 00000000000..062289a41d9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-037-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003B SEMICOLON (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-038-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-038-ref.xht
new file mode 100644
index 00000000000..7579ec9f535
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-038-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FB KATAKANA MIDDLE DOT (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-039-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-039-ref.xht
new file mode 100644
index 00000000000..8c00974a845
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-039-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-040-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-040-ref.xht
new file mode 100644
index 00000000000..0eb18cee390
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-040-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-041-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-041-ref.xht
new file mode 100644
index 00000000000..21406de9561
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-041-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF65 HALFWIDTH KATAKANA MIDDLE DOT (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-042-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-042-ref.xht
new file mode 100644
index 00000000000..204877f88e7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-042-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0021 EXCLAMATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-043-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-043-ref.xht
new file mode 100644
index 00000000000..8182994c05d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-043-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003F QUESTION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-044-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-044-ref.xht
new file mode 100644
index 00000000000..205fd665b70
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-044-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-045-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-045-ref.xht
new file mode 100644
index 00000000000..f5a7bce69c8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-045-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2047 DOUBLE QUESTION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-046-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-046-ref.xht
new file mode 100644
index 00000000000..3a9ceadc98c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-046-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-047-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-047-ref.xht
new file mode 100644
index 00000000000..4ae43b14d67
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-047-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2049 EXCLAMATION QUESTION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-048-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-048-ref.xht
new file mode 100644
index 00000000000..add02cbf04c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-048-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF01 FULLWIDTH EXCLAMATION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-049-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-049-ref.xht
new file mode 100644
index 00000000000..ed9c0fcdc27
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-049-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1F FULLWIDTH QUESTION MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-050-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-050-ref.xht
new file mode 100644
index 00000000000..55a7a00502b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-050-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-051-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-051-ref.xht
new file mode 100644
index 00000000000..06cd463e578
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-051-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00A2 CENT SIGN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-052-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-052-ref.xht
new file mode 100644
index 00000000000..feaccda9346
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-052-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-054-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-054-ref.xht
new file mode 100644
index 00000000000..82d120f968f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-054-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-055-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-055-ref.xht
new file mode 100644
index 00000000000..0ab2bd0a733
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-055-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2032 PRIME (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-056-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-056-ref.xht
new file mode 100644
index 00000000000..7d343239950
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-056-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2033 DOUBLE PRIME (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-057-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-057-ref.xht
new file mode 100644
index 00000000000..4ea4d6e0883
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-057-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2103 DEGREE CELSIUS (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-058-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-058-ref.xht
new file mode 100644
index 00000000000..9a8fbbc485f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-058-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF05 FULLWIDTH PERCENT SIGN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-059-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-059-ref.xht
new file mode 100644
index 00000000000..f4d8d2b41de
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-059-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FFE0 FULLWIDTH CENT SIGN (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-060-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-060-ref.xht
new file mode 100644
index 00000000000..a2690160bca
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-060-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK (strict,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かーな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かーな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-101-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-101-ref.xht
new file mode 100644
index 00000000000..0c308845d8f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-101-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3041 HIRAGANA LETTER SMALL A (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぁな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぁな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-102-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-102-ref.xht
new file mode 100644
index 00000000000..906579311f3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-102-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3043 HIRAGANA LETTER SMALL I (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぃな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-103-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-103-ref.xht
new file mode 100644
index 00000000000..a41eee1f11a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-103-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3045 HIRAGANA LETTER SMALL U (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぅな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-104-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-104-ref.xht
new file mode 100644
index 00000000000..090bccc07fb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-104-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3047 HIRAGANA LETTER SMALL E (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぇな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぇな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-105-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-105-ref.xht
new file mode 100644
index 00000000000..1808349c884
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-105-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3049 HIRAGANA LETTER SMALL O (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぉな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぉな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-106-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-106-ref.xht
new file mode 100644
index 00000000000..88b8e3e31a8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-106-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3063 HIRAGANA LETTER SMALL TU (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />っな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />っな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-107-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-107-ref.xht
new file mode 100644
index 00000000000..d57d5446862
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-107-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3083 HIRAGANA LETTER SMALL YA (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゃな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-108-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-108-ref.xht
new file mode 100644
index 00000000000..6ab9e23ed69
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-108-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3085 HIRAGANA LETTER SMALL YU (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゅな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-109-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-109-ref.xht
new file mode 100644
index 00000000000..3d44f2c23ce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-109-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3087 HIRAGANA LETTER SMALL YO (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ょな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ょな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-110-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-110-ref.xht
new file mode 100644
index 00000000000..ed031560a1a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-110-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 308E HIRAGANA LETTER SMALL WA (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゎな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゎな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-111-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-111-ref.xht
new file mode 100644
index 00000000000..0c48b48a9b1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-111-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3095 HIRAGANA LETTER SMALL KA (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゕな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゕな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-112-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-112-ref.xht
new file mode 100644
index 00000000000..37bfdab0b5f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-112-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3096 HIRAGANA LETTER SMALL KE (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゖな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゖな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-113-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-113-ref.xht
new file mode 100644
index 00000000000..5419e30e00a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-113-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A1 KATAKANA LETTER SMALL A (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ァナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ァナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-114-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-114-ref.xht
new file mode 100644
index 00000000000..6496738e3b9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-114-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A3 KATAKANA LETTER SMALL I (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ィナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ィナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-115-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-115-ref.xht
new file mode 100644
index 00000000000..6d30b107a09
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-115-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A5 KATAKANA LETTER SMALL U (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ゥナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ゥナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-116-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-116-ref.xht
new file mode 100644
index 00000000000..b8208c49392
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-116-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A7 KATAKANA LETTER SMALL E (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ェナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ェナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-117-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-117-ref.xht
new file mode 100644
index 00000000000..a95578d0ec3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-117-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A9 KATAKANA LETTER SMALL O (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ォナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ォナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-118-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-118-ref.xht
new file mode 100644
index 00000000000..a46b911d427
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-118-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30C3 KATAKANA LETTER SMALL TU (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ッナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ッナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-119-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-119-ref.xht
new file mode 100644
index 00000000000..b920a040549
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-119-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E3 KATAKANA LETTER SMALL YA (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ャナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ャナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-120-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-120-ref.xht
new file mode 100644
index 00000000000..8762ee94052
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-120-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E5 KATAKANA LETTER SMALL YU (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ュナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ュナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-121-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-121-ref.xht
new file mode 100644
index 00000000000..278b4353783
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-121-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E7 KATAKANA LETTER SMALL YO (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ョナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ョナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-122-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-122-ref.xht
new file mode 100644
index 00000000000..cb13bb6ccc3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-122-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30EE KATAKANA LETTER SMALL WA (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヮナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヮナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-123-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-123-ref.xht
new file mode 100644
index 00000000000..c64fdf78047
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-123-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30F5 KATAKANA LETTER SMALL KA (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヵナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヵナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-124-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-124-ref.xht
new file mode 100644
index 00000000000..c41faa19569
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-124-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30F6 KATAKANA LETTER SMALL KE (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヶナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヶナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-125-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-125-ref.xht
new file mode 100644
index 00000000000..8f9a7e9e06e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-125-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ーナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ーナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-126-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-126-ref.xht
new file mode 100644
index 00000000000..e12eb856008
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-126-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2010 HYPHEN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-127-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-127-ref.xht
new file mode 100644
index 00000000000..abbc8148ecb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-127-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2013 EN DASH (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-128-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-128-ref.xht
new file mode 100644
index 00000000000..c8efde4dfa5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-128-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-129-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-129-ref.xht
new file mode 100644
index 00000000000..9dee6e75a84
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-129-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A0 KATAKANA-HIRAGANA DOUBLE HYPHEN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />゠な</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />゠な</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-130-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-130-ref.xht
new file mode 100644
index 00000000000..9c3fcef8419
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-130-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />々文</div>
+
+
+
+
+
+<div class="ref">中中中<br />々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-131-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-131-ref.xht
new file mode 100644
index 00000000000..9addaecfd1d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-131-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />〻文</div>
+
+
+
+
+
+<div class="ref">中中中<br />〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-132-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-132-ref.xht
new file mode 100644
index 00000000000..5809f03f7bf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-132-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309D HIRAGANA ITERATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゝな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゝな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-133-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-133-ref.xht
new file mode 100644
index 00000000000..849e9561bc1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-133-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309E HIRAGANA VOICED ITERATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゞな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゞな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-134-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-134-ref.xht
new file mode 100644
index 00000000000..35073b75366
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-134-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FD KATAKANA ITERATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヽナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヽナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-135-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-135-ref.xht
new file mode 100644
index 00000000000..ee15b62688e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-135-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FE KATAKANA VOICED ITERATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヾナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヾナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-136-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-136-ref.xht
new file mode 100644
index 00000000000..58909b943cd
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-136-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003A COLON (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-137-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-137-ref.xht
new file mode 100644
index 00000000000..4f35e13b202
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-137-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003B SEMICOLON (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-138-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-138-ref.xht
new file mode 100644
index 00000000000..251e93d5467
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-138-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FB KATAKANA MIDDLE DOT (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />・ナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />・ナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-139-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-139-ref.xht
new file mode 100644
index 00000000000..ce1df0e7a12
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-139-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-140-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-140-ref.xht
new file mode 100644
index 00000000000..1c45c75a128
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-140-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-141-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-141-ref.xht
new file mode 100644
index 00000000000..afd9bc3ceca
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-141-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF65 HALFWIDTH KATAKANA MIDDLE DOT (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />・ナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />・ナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-142-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-142-ref.xht
new file mode 100644
index 00000000000..73a5cb7f8d0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-142-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0021 EXCLAMATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-143-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-143-ref.xht
new file mode 100644
index 00000000000..98db0689507
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-143-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003F QUESTION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-144-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-144-ref.xht
new file mode 100644
index 00000000000..69c84e35233
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-144-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‼文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-145-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-145-ref.xht
new file mode 100644
index 00000000000..893a5423964
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-145-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2047 DOUBLE QUESTION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />⁇文</div>
+
+
+
+
+
+<div class="ref">中中中<br />⁇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-146-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-146-ref.xht
new file mode 100644
index 00000000000..cf3da554a11
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-146-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />⁈文</div>
+
+
+
+
+
+<div class="ref">中中中<br />⁈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-147-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-147-ref.xht
new file mode 100644
index 00000000000..5a2fc35b7a2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-147-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2049 EXCLAMATION QUESTION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />⁉文</div>
+
+
+
+
+
+<div class="ref">中中中<br />⁉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-148-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-148-ref.xht
new file mode 100644
index 00000000000..e05c8e88b05
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-148-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF01 FULLWIDTH EXCLAMATION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-149-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-149-ref.xht
new file mode 100644
index 00000000000..219081e77de
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-149-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1F FULLWIDTH QUESTION MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-150-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-150-ref.xht
new file mode 100644
index 00000000000..f37e8bf8fef
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-150-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-151-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-151-ref.xht
new file mode 100644
index 00000000000..294f98bd922
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-151-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00A2 CENT SIGN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-152-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-152-ref.xht
new file mode 100644
index 00000000000..6c1ae6205c0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-152-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />°文</div>
+
+
+
+
+
+<div class="ref">中中中<br />°文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-154-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-154-ref.xht
new file mode 100644
index 00000000000..6d2dcba6b42
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-154-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‰文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-155-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-155-ref.xht
new file mode 100644
index 00000000000..ca760d1f767
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-155-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2032 PRIME (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />′文</div>
+
+
+
+
+
+<div class="ref">中中中<br />′文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-156-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-156-ref.xht
new file mode 100644
index 00000000000..be0d96454bb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-156-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2033 DOUBLE PRIME (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />″文</div>
+
+
+
+
+
+<div class="ref">中中中<br />″文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-157-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-157-ref.xht
new file mode 100644
index 00000000000..c35b49fa881
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-157-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2103 DEGREE CELSIUS (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />℃文</div>
+
+
+
+
+
+<div class="ref">中中中<br />℃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-158-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-158-ref.xht
new file mode 100644
index 00000000000..f4375c80e0b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-158-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF05 FULLWIDTH PERCENT SIGN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-159-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-159-ref.xht
new file mode 100644
index 00000000000..192a8782ed2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-159-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FFE0 FULLWIDTH CENT SIGN (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-160-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-160-ref.xht
new file mode 100644
index 00000000000..8a2a93be248
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-160-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK (loose,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ーな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ーな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-201-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-201-ref.xht
new file mode 100644
index 00000000000..af3f48e5301
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-201-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3041 HIRAGANA LETTER SMALL A (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぁな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぁな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-202-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-202-ref.xht
new file mode 100644
index 00000000000..80bc27bafc9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-202-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3043 HIRAGANA LETTER SMALL I (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぃな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-203-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-203-ref.xht
new file mode 100644
index 00000000000..5886bb811e5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-203-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3045 HIRAGANA LETTER SMALL U (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぅな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-204-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-204-ref.xht
new file mode 100644
index 00000000000..bd86f292cba
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-204-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3047 HIRAGANA LETTER SMALL E (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぇな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぇな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-205-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-205-ref.xht
new file mode 100644
index 00000000000..db8f88e500f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-205-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3049 HIRAGANA LETTER SMALL O (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ぉな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ぉな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-206-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-206-ref.xht
new file mode 100644
index 00000000000..f0305c88123
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-206-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3063 HIRAGANA LETTER SMALL TU (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />っな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />っな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-207-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-207-ref.xht
new file mode 100644
index 00000000000..19a8ba730be
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-207-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3083 HIRAGANA LETTER SMALL YA (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゃな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-208-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-208-ref.xht
new file mode 100644
index 00000000000..d909d3e046a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-208-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3085 HIRAGANA LETTER SMALL YU (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゅな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-209-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-209-ref.xht
new file mode 100644
index 00000000000..aafd20b1baf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-209-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3087 HIRAGANA LETTER SMALL YO (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ょな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ょな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-210-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-210-ref.xht
new file mode 100644
index 00000000000..66e22933a87
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-210-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 308E HIRAGANA LETTER SMALL WA (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゎな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゎな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-211-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-211-ref.xht
new file mode 100644
index 00000000000..09b0b4e5c5d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-211-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3095 HIRAGANA LETTER SMALL KA (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゕな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゕな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-212-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-212-ref.xht
new file mode 100644
index 00000000000..5b5f81bce76
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-212-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3096 HIRAGANA LETTER SMALL KE (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ゖな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ゖな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-213-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-213-ref.xht
new file mode 100644
index 00000000000..a77cccd99ba
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-213-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A1 KATAKANA LETTER SMALL A (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ァナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ァナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-214-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-214-ref.xht
new file mode 100644
index 00000000000..57e55f5aca7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-214-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A3 KATAKANA LETTER SMALL I (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ィナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ィナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-215-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-215-ref.xht
new file mode 100644
index 00000000000..e4b522022d4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-215-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A5 KATAKANA LETTER SMALL U (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ゥナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ゥナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-216-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-216-ref.xht
new file mode 100644
index 00000000000..676867108e4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-216-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A7 KATAKANA LETTER SMALL E (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ェナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ェナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-217-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-217-ref.xht
new file mode 100644
index 00000000000..153f617a7df
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-217-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A9 KATAKANA LETTER SMALL O (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ォナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ォナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-218-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-218-ref.xht
new file mode 100644
index 00000000000..a4123735a62
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-218-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30C3 KATAKANA LETTER SMALL TU (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ッナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ッナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-219-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-219-ref.xht
new file mode 100644
index 00000000000..334f38bdfb8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-219-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E3 KATAKANA LETTER SMALL YA (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ャナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ャナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-220-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-220-ref.xht
new file mode 100644
index 00000000000..6f643b74941
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-220-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E5 KATAKANA LETTER SMALL YU (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ュナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ュナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-221-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-221-ref.xht
new file mode 100644
index 00000000000..faed6bc2ef5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-221-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E7 KATAKANA LETTER SMALL YO (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ョナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ョナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-222-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-222-ref.xht
new file mode 100644
index 00000000000..988af7464fa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-222-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30EE KATAKANA LETTER SMALL WA (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヮナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヮナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-223-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-223-ref.xht
new file mode 100644
index 00000000000..9b01760bd0e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-223-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30F5 KATAKANA LETTER SMALL KA (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヵナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヵナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-224-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-224-ref.xht
new file mode 100644
index 00000000000..19f4dd46792
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-224-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30F6 KATAKANA LETTER SMALL KE (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ヶナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ヶナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-225-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-225-ref.xht
new file mode 100644
index 00000000000..a00bb66cc1c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-225-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカカ<br />ーナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカカ<br />ーナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-226-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-226-ref.xht
new file mode 100644
index 00000000000..f71a9d62103
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-226-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2010 HYPHEN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-227-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-227-ref.xht
new file mode 100644
index 00000000000..e92328925c4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-227-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2013 EN DASH (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-228-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-228-ref.xht
new file mode 100644
index 00000000000..d73b464d7af
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-228-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-229-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-229-ref.xht
new file mode 100644
index 00000000000..61bb4218636
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-229-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A0 KATAKANA-HIRAGANA DOUBLE HYPHEN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />゠な</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />゠な</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-230-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-230-ref.xht
new file mode 100644
index 00000000000..a53bc7ddc76
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-230-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-231-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-231-ref.xht
new file mode 100644
index 00000000000..bf0cf785fe9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-231-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-232-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-232-ref.xht
new file mode 100644
index 00000000000..0c1839fda4c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-232-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309D HIRAGANA ITERATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゝな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゝな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-233-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-233-ref.xht
new file mode 100644
index 00000000000..c0a4885a808
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-233-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309E HIRAGANA VOICED ITERATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かか<br />かゞな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かか<br />かゞな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-234-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-234-ref.xht
new file mode 100644
index 00000000000..a15e6757a5e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-234-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FD KATAKANA ITERATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヽナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヽナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-235-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-235-ref.xht
new file mode 100644
index 00000000000..3bed31597c2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-235-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FE KATAKANA VOICED ITERATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カヾナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カヾナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-236-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-236-ref.xht
new file mode 100644
index 00000000000..795fac0b5ae
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-236-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003A COLON (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-237-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-237-ref.xht
new file mode 100644
index 00000000000..40cb56d8820
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-237-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003B SEMICOLON (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-238-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-238-ref.xht
new file mode 100644
index 00000000000..966b400b813
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-238-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FB KATAKANA MIDDLE DOT (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-239-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-239-ref.xht
new file mode 100644
index 00000000000..9b34e748ef0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-239-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-240-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-240-ref.xht
new file mode 100644
index 00000000000..14f08683e74
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-240-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-241-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-241-ref.xht
new file mode 100644
index 00000000000..5cbe2f5c118
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-241-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF65 HALFWIDTH KATAKANA MIDDLE DOT (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+<div lang="ja" class="ref">カカ<br />カ・ナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-242-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-242-ref.xht
new file mode 100644
index 00000000000..d2236a90b2f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-242-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0021 EXCLAMATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-243-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-243-ref.xht
new file mode 100644
index 00000000000..25619e92e58
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-243-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003F QUESTION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-244-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-244-ref.xht
new file mode 100644
index 00000000000..9d8d324698c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-244-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-245-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-245-ref.xht
new file mode 100644
index 00000000000..8bc39946902
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-245-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2047 DOUBLE QUESTION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-246-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-246-ref.xht
new file mode 100644
index 00000000000..31a370bba11
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-246-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-247-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-247-ref.xht
new file mode 100644
index 00000000000..5db9e1015ed
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-247-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2049 EXCLAMATION QUESTION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-248-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-248-ref.xht
new file mode 100644
index 00000000000..b586d421dd6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-248-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF01 FULLWIDTH EXCLAMATION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-249-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-249-ref.xht
new file mode 100644
index 00000000000..e888e768c83
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-249-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1F FULLWIDTH QUESTION MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-250-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-250-ref.xht
new file mode 100644
index 00000000000..364f584531f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-250-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-251-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-251-ref.xht
new file mode 100644
index 00000000000..f1e439639ad
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-251-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00A2 CENT SIGN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-252-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-252-ref.xht
new file mode 100644
index 00000000000..0de20b04ad7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-252-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-254-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-254-ref.xht
new file mode 100644
index 00000000000..76f34584ebc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-254-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-255-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-255-ref.xht
new file mode 100644
index 00000000000..e375b7123fb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-255-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2032 PRIME (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-256-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-256-ref.xht
new file mode 100644
index 00000000000..b7d50a5194a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-256-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2033 DOUBLE PRIME (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-257-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-257-ref.xht
new file mode 100644
index 00000000000..14c0561e609
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-257-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2103 DEGREE CELSIUS (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-258-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-258-ref.xht
new file mode 100644
index 00000000000..26d05c67cc4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-258-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF05 FULLWIDTH PERCENT SIGN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-259-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-259-ref.xht
new file mode 100644
index 00000000000..50e8248d6c7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-259-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FFE0 FULLWIDTH CENT SIGN (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-260-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-260-ref.xht
new file mode 100644
index 00000000000..d25e8ffd9bc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-260-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK (normal,ja)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div lang="ja" class="ref">かかか<br />ーな</div>
+
+
+
+
+
+<div lang="ja" class="ref">かかか<br />ーな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-301-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-301-ref.xht
new file mode 100644
index 00000000000..c0f788396aa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-301-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2010 HYPHEN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‐文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-302-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-302-ref.xht
new file mode 100644
index 00000000000..fdd49f496c6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-302-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2013 EN DASH (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中–文</div>
+
+
+
+
+
+<div class="ref">中中<br />中–文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-303-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-303-ref.xht
new file mode 100644
index 00000000000..a8fbc63c3c6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-303-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〜文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-304-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-304-ref.xht
new file mode 100644
index 00000000000..d4062b27940
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-304-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-305-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-305-ref.xht
new file mode 100644
index 00000000000..d40dd12c815
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-305-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-306-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-306-ref.xht
new file mode 100644
index 00000000000..e0436038a86
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-306-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003A COLON (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-307-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-307-ref.xht
new file mode 100644
index 00000000000..3a1f31ddc17
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-307-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003B SEMICOLON (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-308-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-308-ref.xht
new file mode 100644
index 00000000000..710b5f3c6ce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-308-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-309-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-309-ref.xht
new file mode 100644
index 00000000000..370efed6cb1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-309-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-310-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-310-ref.xht
new file mode 100644
index 00000000000..c55666541de
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-310-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0021 EXCLAMATION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-311-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-311-ref.xht
new file mode 100644
index 00000000000..97b6900ebd7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-311-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003F QUESTION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-312-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-312-ref.xht
new file mode 100644
index 00000000000..de9d0c4f783
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-312-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-313-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-313-ref.xht
new file mode 100644
index 00000000000..1a8cf213885
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-313-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2047 DOUBLE QUESTION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-314-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-314-ref.xht
new file mode 100644
index 00000000000..a77a4001c12
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-314-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-315-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-315-ref.xht
new file mode 100644
index 00000000000..9291d64265a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-315-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2049 EXCLAMATION QUESTION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-316-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-316-ref.xht
new file mode 100644
index 00000000000..4f89221756d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-316-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF01 FULLWIDTH EXCLAMATION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-317-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-317-ref.xht
new file mode 100644
index 00000000000..47d82da9882
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-317-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1F FULLWIDTH QUESTION MARK (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-318-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-318-ref.xht
new file mode 100644
index 00000000000..5f01cef0326
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-318-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-319-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-319-ref.xht
new file mode 100644
index 00000000000..0c46bc3ab7d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-319-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00A2 CENT SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-320-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-320-ref.xht
new file mode 100644
index 00000000000..59bcf4d4c12
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-320-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-321-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-321-ref.xht
new file mode 100644
index 00000000000..5f01cef0326
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-321-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-322-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-322-ref.xht
new file mode 100644
index 00000000000..e413f5a8e0b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-322-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-323-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-323-ref.xht
new file mode 100644
index 00000000000..aaa16fc337c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-323-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2032 PRIME (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-324-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-324-ref.xht
new file mode 100644
index 00000000000..1a448f73df0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-324-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2033 DOUBLE PRIME (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-325-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-325-ref.xht
new file mode 100644
index 00000000000..a84c72f1d2d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-325-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2103 DEGREE CELSIUS (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-326-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-326-ref.xht
new file mode 100644
index 00000000000..3f08d9a51f9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-326-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF05 FULLWIDTH PERCENT SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-327-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-327-ref.xht
new file mode 100644
index 00000000000..6e1a2349fe9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-327-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FFE0 FULLWIDTH CENT SIGN (strict,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: strict; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-351-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-351-ref.xht
new file mode 100644
index 00000000000..8c951e2c39f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-351-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2010 HYPHEN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-352-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-352-ref.xht
new file mode 100644
index 00000000000..3857b0e13f8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-352-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2013 EN DASH (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-353-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-353-ref.xht
new file mode 100644
index 00000000000..6a19fa98d2a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-353-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-354-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-354-ref.xht
new file mode 100644
index 00000000000..54e9741a392
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-354-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />々文</div>
+
+
+
+
+
+<div class="ref">中中中<br />々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-355-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-355-ref.xht
new file mode 100644
index 00000000000..e6efedf880b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-355-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />〻文</div>
+
+
+
+
+
+<div class="ref">中中中<br />〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-356-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-356-ref.xht
new file mode 100644
index 00000000000..42ee7331504
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-356-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003A COLON (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-357-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-357-ref.xht
new file mode 100644
index 00000000000..33823da3297
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-357-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003B SEMICOLON (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-358-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-358-ref.xht
new file mode 100644
index 00000000000..44b27b0e5fd
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-358-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+<div class="ref">中中中<br />:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-359-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-359-ref.xht
new file mode 100644
index 00000000000..6721d891b9d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-359-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+<div class="ref">中中中<br />;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-360-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-360-ref.xht
new file mode 100644
index 00000000000..855e0c699c9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-360-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0021 EXCLAMATION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-361-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-361-ref.xht
new file mode 100644
index 00000000000..38746f4a0cb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-361-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003F QUESTION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-362-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-362-ref.xht
new file mode 100644
index 00000000000..edd9cb4ab44
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-362-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‼文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-363-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-363-ref.xht
new file mode 100644
index 00000000000..1a846c4069a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-363-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2047 DOUBLE QUESTION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />⁇文</div>
+
+
+
+
+
+<div class="ref">中中中<br />⁇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-364-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-364-ref.xht
new file mode 100644
index 00000000000..42835d62bac
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-364-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />⁈文</div>
+
+
+
+
+
+<div class="ref">中中中<br />⁈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-365-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-365-ref.xht
new file mode 100644
index 00000000000..b4823638610
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-365-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2049 EXCLAMATION QUESTION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />⁉文</div>
+
+
+
+
+
+<div class="ref">中中中<br />⁉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-366-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-366-ref.xht
new file mode 100644
index 00000000000..c80f2a62e8d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-366-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF01 FULLWIDTH EXCLAMATION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+<div class="ref">中中中<br />!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-367-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-367-ref.xht
new file mode 100644
index 00000000000..0236d2b639d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-367-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1F FULLWIDTH QUESTION MARK (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+<div class="ref">中中中<br />?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-368-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-368-ref.xht
new file mode 100644
index 00000000000..d3c0c8da9aa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-368-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-369-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-369-ref.xht
new file mode 100644
index 00000000000..ab4de364737
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-369-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00A2 CENT SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-370-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-370-ref.xht
new file mode 100644
index 00000000000..3d65d4401cf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-370-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />°文</div>
+
+
+
+
+
+<div class="ref">中中中<br />°文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-371-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-371-ref.xht
new file mode 100644
index 00000000000..d3c0c8da9aa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-371-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-372-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-372-ref.xht
new file mode 100644
index 00000000000..44430041001
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-372-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‰文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-373-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-373-ref.xht
new file mode 100644
index 00000000000..db6eaf5edda
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-373-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2032 PRIME (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />′文</div>
+
+
+
+
+
+<div class="ref">中中中<br />′文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-374-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-374-ref.xht
new file mode 100644
index 00000000000..4d9f6925d7c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-374-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2033 DOUBLE PRIME (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />″文</div>
+
+
+
+
+
+<div class="ref">中中中<br />″文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-375-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-375-ref.xht
new file mode 100644
index 00000000000..ce1ee61b709
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-375-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2103 DEGREE CELSIUS (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />℃文</div>
+
+
+
+
+
+<div class="ref">中中中<br />℃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-376-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-376-ref.xht
new file mode 100644
index 00000000000..8dbcffcbb00
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-376-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF05 FULLWIDTH PERCENT SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+<div class="ref">中中中<br />%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-377-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-377-ref.xht
new file mode 100644
index 00000000000..d018a4c1845
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-377-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FFE0 FULLWIDTH CENT SIGN (loose,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: loose; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+<div class="ref">中中中<br />¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-401-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-401-ref.xht
new file mode 100644
index 00000000000..09457f6ec86
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-401-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2010 HYPHEN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+<div class="ref">中中中<br />‐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-402-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-402-ref.xht
new file mode 100644
index 00000000000..5a85fe8c8f5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-402-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2013 EN DASH (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+<div class="ref">中中中<br />–文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-403-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-403-ref.xht
new file mode 100644
index 00000000000..101e355a55e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-403-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+<div class="ref">中中中<br />〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-404-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-404-ref.xht
new file mode 100644
index 00000000000..f719a32f0ba
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-404-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-405-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-405-ref.xht
new file mode 100644
index 00000000000..b7d00898537
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-405-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-406-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-406-ref.xht
new file mode 100644
index 00000000000..81c4d5d4e8c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-406-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003A COLON (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-407-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-407-ref.xht
new file mode 100644
index 00000000000..5d4c5c7893d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-407-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003B SEMICOLON (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-408-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-408-ref.xht
new file mode 100644
index 00000000000..f0332440dce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-408-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-409-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-409-ref.xht
new file mode 100644
index 00000000000..a7ae5954090
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-409-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-410-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-410-ref.xht
new file mode 100644
index 00000000000..631c3f5a250
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-410-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0021 EXCLAMATION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-411-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-411-ref.xht
new file mode 100644
index 00000000000..8cf4b2ddfe3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-411-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 003F QUESTION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-412-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-412-ref.xht
new file mode 100644
index 00000000000..42ae762a5e4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-412-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-413-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-413-ref.xht
new file mode 100644
index 00000000000..98c1a9cdc83
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-413-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2047 DOUBLE QUESTION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-414-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-414-ref.xht
new file mode 100644
index 00000000000..9c0bf38f286
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-414-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2048 QUESTION EXCLAMATION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-415-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-415-ref.xht
new file mode 100644
index 00000000000..69d1dec5751
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-415-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2049 EXCLAMATION QUESTION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-416-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-416-ref.xht
new file mode 100644
index 00000000000..f41923027ed
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-416-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF01 FULLWIDTH EXCLAMATION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+<div class="ref">中中<br />中!文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-417-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-417-ref.xht
new file mode 100644
index 00000000000..88098e1fa07
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-417-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1F FULLWIDTH QUESTION MARK (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+<div class="ref">中中<br />中?文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-418-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-418-ref.xht
new file mode 100644
index 00000000000..ed6ee86b057
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-418-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-419-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-419-ref.xht
new file mode 100644
index 00000000000..9e09796c8ce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-419-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00A2 CENT SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-420-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-420-ref.xht
new file mode 100644
index 00000000000..d9c0990c8d3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-420-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 00B0 DEGREE SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+<div class="ref">中中<br />中°文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-421-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-421-ref.xht
new file mode 100644
index 00000000000..ed6ee86b057
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-421-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0025 PERCENT SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-422-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-422-ref.xht
new file mode 100644
index 00000000000..32ed4f31a57
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-422-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2030 PER MILLE SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-423-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-423-ref.xht
new file mode 100644
index 00000000000..c2d0d8b7f3d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-423-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2032 PRIME (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+<div class="ref">中中<br />中′文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-424-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-424-ref.xht
new file mode 100644
index 00000000000..3275d12b8ce
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-424-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2033 DOUBLE PRIME (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+<div class="ref">中中<br />中″文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-425-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-425-ref.xht
new file mode 100644
index 00000000000..ba8206b3d6d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-425-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2103 DEGREE CELSIUS (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+<div class="ref">中中<br />中℃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-426-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-426-ref.xht
new file mode 100644
index 00000000000..99ed985fc72
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-426-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF05 FULLWIDTH PERCENT SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+<div class="ref">中中<br />中%文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-427-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-427-ref.xht
new file mode 100644
index 00000000000..b530b7a5015
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-jazh-427-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FFE0 FULLWIDTH CENT SIGN (normal,zh)</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 93px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.name { font-size: 10px; }
+.test { line-break: normal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+<div class="ref">中中<br />中¢文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-001-ref.xht
new file mode 100644
index 00000000000..a1b6257fb63
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-001-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0028 LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />(文</div>
+
+
+
+
+
+<div class="ref">中中<br />(文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-002-ref.xht
new file mode 100644
index 00000000000..ee740f4aabe
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-002-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 005B LEFT SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />[文</div>
+
+
+
+
+
+<div class="ref">中中<br />[文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-003-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-003-ref.xht
new file mode 100644
index 00000000000..ca7338fa107
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-003-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 007B LEFT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />{文</div>
+
+
+
+
+
+<div class="ref">中中<br />{文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-004-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-004-ref.xht
new file mode 100644
index 00000000000..3f3fcf50fb5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-004-ref.xht
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0F3A TIBETAN MARK GUG RTAGS GYON</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.test, .ref { width: 115px; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />༺文</div>
+
+
+
+
+
+<div class="ref">中中<br />༺文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-005-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-005-ref.xht
new file mode 100644
index 00000000000..7ee0ccd0740
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-005-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0F3C TIBETAN MARK ANG KHANG GYON</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />༼文</div>
+
+
+
+
+
+<div class="ref">中中<br />༼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-006-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-006-ref.xht
new file mode 100644
index 00000000000..2868430ae27
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-006-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 169B OGHAM FEATHER MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />᚛文</div>
+
+
+
+
+
+<div class="ref">中中<br />᚛文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-007-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-007-ref.xht
new file mode 100644
index 00000000000..f062e1a4ce7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-007-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 201A SINGLE LOW-9 QUOTATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />‚文</div>
+
+
+
+
+
+<div class="ref">中中<br />‚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-008-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-008-ref.xht
new file mode 100644
index 00000000000..c51dc614672
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-008-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 201E DOUBLE LOW-9 QUOTATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />„文</div>
+
+
+
+
+
+<div class="ref">中中<br />„文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-009-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-009-ref.xht
new file mode 100644
index 00000000000..91544e31515
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-009-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2045 LEFT SQUARE BRACKET WITH QUILL</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⁅文</div>
+
+
+
+
+
+<div class="ref">中中<br />⁅文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-010-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-010-ref.xht
new file mode 100644
index 00000000000..cfdb4c2eee7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-010-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 207D SUPERSCRIPT LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⁽文</div>
+
+
+
+
+
+<div class="ref">中中<br />⁽文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-011-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-011-ref.xht
new file mode 100644
index 00000000000..1b6285b6820
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-011-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 208D SUBSCRIPT LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />₍文</div>
+
+
+
+
+
+<div class="ref">中中<br />₍文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-012-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-012-ref.xht
new file mode 100644
index 00000000000..9dc66d56712
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-012-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2329 LEFT-POINTING ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〈文</div>
+
+
+
+
+
+<div class="ref">中中<br />〈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-013-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-013-ref.xht
new file mode 100644
index 00000000000..7d006efc7be
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-013-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 23B4 TOP SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⎴文</div>
+
+
+
+
+
+<div class="ref">中中<br />⎴文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-014-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-014-ref.xht
new file mode 100644
index 00000000000..1e81ed8c17c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-014-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2768 MEDIUM LEFT PARENTHESIS ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❨文</div>
+
+
+
+
+
+<div class="ref">中中<br />❨文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-015-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-015-ref.xht
new file mode 100644
index 00000000000..cbb8a3c9297
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-015-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 276A MEDIUM FLATTENED LEFT PARENTHESIS ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❪文</div>
+
+
+
+
+
+<div class="ref">中中<br />❪文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-016-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-016-ref.xht
new file mode 100644
index 00000000000..6594ef3f4f2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-016-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 276C MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❬文</div>
+
+
+
+
+
+<div class="ref">中中<br />❬文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-017-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-017-ref.xht
new file mode 100644
index 00000000000..9e9e9b4160a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-017-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 276E HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❮文</div>
+
+
+
+
+
+<div class="ref">中中<br />❮文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-018-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-018-ref.xht
new file mode 100644
index 00000000000..b80670048ef
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-018-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2770 HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❰文</div>
+
+
+
+
+
+<div class="ref">中中<br />❰文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-019-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-019-ref.xht
new file mode 100644
index 00000000000..677cc521605
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-019-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2772 LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❲文</div>
+
+
+
+
+
+<div class="ref">中中<br />❲文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-020-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-020-ref.xht
new file mode 100644
index 00000000000..ecaa27301ec
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-020-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2774 MEDIUM LEFT CURLY BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />❴文</div>
+
+
+
+
+
+<div class="ref">中中<br />❴文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-021-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-021-ref.xht
new file mode 100644
index 00000000000..8407e291836
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-021-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 27E6 MATHEMATICAL LEFT WHITE SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⟦文</div>
+
+
+
+
+
+<div class="ref">中中<br />⟦文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-022-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-022-ref.xht
new file mode 100644
index 00000000000..8c8ed20b1f1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-022-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 27E8 MATHEMATICAL LEFT ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⟨文</div>
+
+
+
+
+
+<div class="ref">中中<br />⟨文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-023-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-023-ref.xht
new file mode 100644
index 00000000000..d46825a07d0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-023-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 27EA MATHEMATICAL LEFT DOUBLE ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⟪文</div>
+
+
+
+
+
+<div class="ref">中中<br />⟪文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-024-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-024-ref.xht
new file mode 100644
index 00000000000..79aabb9714c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-024-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2983 LEFT WHITE CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦃文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-025-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-025-ref.xht
new file mode 100644
index 00000000000..52e4a35de2e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-025-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2985 LEFT WHITE PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦅文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦅文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-026-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-026-ref.xht
new file mode 100644
index 00000000000..df016b6fddb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-026-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2987 Z NOTATION LEFT IMAGE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦇文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-027-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-027-ref.xht
new file mode 100644
index 00000000000..546bf944344
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-027-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2989 Z NOTATION LEFT BINDING BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦉文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-028-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-028-ref.xht
new file mode 100644
index 00000000000..7cb04e62e01
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-028-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 298B LEFT SQUARE BRACKET WITH UNDERBAR</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦋文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦋文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-029-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-029-ref.xht
new file mode 100644
index 00000000000..9dd8ee6ad3f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-029-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 298D LEFT SQUARE BRACKET WITH TICK IN TOP CORNER</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦍文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦍文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-030-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-030-ref.xht
new file mode 100644
index 00000000000..adf5e467dcd
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-030-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 298F LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦏文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦏文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-031-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-031-ref.xht
new file mode 100644
index 00000000000..747d8084c46
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-031-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2991 LEFT ANGLE BRACKET WITH DOT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦑文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦑文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-032-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-032-ref.xht
new file mode 100644
index 00000000000..af04ba76ab1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-032-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2993 LEFT ARC LESS-THAN BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦓文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦓文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-033-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-033-ref.xht
new file mode 100644
index 00000000000..07d72a71060
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-033-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2995 DOUBLE LEFT ARC GREATER-THAN BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦕文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦕文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-034-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-034-ref.xht
new file mode 100644
index 00000000000..9bb60c99454
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-034-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2997 LEFT BLACK TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦗文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦗文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-035-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-035-ref.xht
new file mode 100644
index 00000000000..eac6fb6ae02
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-035-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 29D8 LEFT WIGGLY FENCE</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⧘文</div>
+
+
+
+
+
+<div class="ref">中中<br />⧘文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-036-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-036-ref.xht
new file mode 100644
index 00000000000..7033ab38282
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-036-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 29DA LEFT DOUBLE WIGGLY FENCE</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⧚文</div>
+
+
+
+
+
+<div class="ref">中中<br />⧚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-037-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-037-ref.xht
new file mode 100644
index 00000000000..2c693bad105
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-037-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 29FC LEFT-POINTING CURVED ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⧼文</div>
+
+
+
+
+
+<div class="ref">中中<br />⧼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-038-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-038-ref.xht
new file mode 100644
index 00000000000..787a5578bbc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-038-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3008 LEFT ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〈文</div>
+
+
+
+
+
+<div class="ref">中中<br />〈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-039-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-039-ref.xht
new file mode 100644
index 00000000000..37e8c182d9f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-039-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 300A LEFT DOUBLE ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />《文</div>
+
+
+
+
+
+<div class="ref">中中<br />《文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-040-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-040-ref.xht
new file mode 100644
index 00000000000..0a479b7dff7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-040-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 300C LEFT CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />「文</div>
+
+
+
+
+
+<div class="ref">中中<br />「文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-041-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-041-ref.xht
new file mode 100644
index 00000000000..d57a42bd27c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-041-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 300E LEFT WHITE CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />『文</div>
+
+
+
+
+
+<div class="ref">中中<br />『文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-042-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-042-ref.xht
new file mode 100644
index 00000000000..50325aca38f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-042-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3010 LEFT BLACK LENTICULAR BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />【文</div>
+
+
+
+
+
+<div class="ref">中中<br />【文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-043-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-043-ref.xht
new file mode 100644
index 00000000000..c2ba884265d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-043-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3014 LEFT TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〔文</div>
+
+
+
+
+
+<div class="ref">中中<br />〔文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-044-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-044-ref.xht
new file mode 100644
index 00000000000..d9efbf278df
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-044-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3016 LEFT WHITE LENTICULAR BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〖文</div>
+
+
+
+
+
+<div class="ref">中中<br />〖文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-045-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-045-ref.xht
new file mode 100644
index 00000000000..e75151b18c7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-045-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3018 LEFT WHITE TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〘文</div>
+
+
+
+
+
+<div class="ref">中中<br />〘文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-046-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-046-ref.xht
new file mode 100644
index 00000000000..2ac5eff3c57
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-046-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301A LEFT WHITE SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〚文</div>
+
+
+
+
+
+<div class="ref">中中<br />〚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-047-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-047-ref.xht
new file mode 100644
index 00000000000..1a535a03661
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-047-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301D REVERSED DOUBLE PRIME QUOTATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />〝文</div>
+
+
+
+
+
+<div class="ref">中中<br />〝文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-048-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-048-ref.xht
new file mode 100644
index 00000000000..b95e8669a6d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-048-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FD3E ORNATE LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﴾文</div>
+
+
+
+
+
+<div class="ref">中中<br />﴾文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-049-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-049-ref.xht
new file mode 100644
index 00000000000..50d8397d385
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-049-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE35 PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />︵文</div>
+
+
+
+
+
+<div class="ref">中中<br />︵文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-050-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-050-ref.xht
new file mode 100644
index 00000000000..337d8e21123
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-050-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE37 PRESENTATION FORM FOR VERTICAL LEFT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />︷文</div>
+
+
+
+
+
+<div class="ref">中中<br />︷文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-051-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-051-ref.xht
new file mode 100644
index 00000000000..694859e4e25
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-051-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE39 PRESENTATION FORM FOR VERTICAL LEFT TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />︹文</div>
+
+
+
+
+
+<div class="ref">中中<br />︹文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-052-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-052-ref.xht
new file mode 100644
index 00000000000..9531c438a66
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-052-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE3B PRESENTATION FORM FOR VERTICAL LEFT BLACK LENTICULAR BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />︻文</div>
+
+
+
+
+
+<div class="ref">中中<br />︻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-053-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-053-ref.xht
new file mode 100644
index 00000000000..e6f20d82f42
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-053-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE3D PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />︽文</div>
+
+
+
+
+
+<div class="ref">中中<br />︽文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-054-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-054-ref.xht
new file mode 100644
index 00000000000..8f1fc7ff4a2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-054-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE3F PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />︿文</div>
+
+
+
+
+
+<div class="ref">中中<br />︿文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-055-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-055-ref.xht
new file mode 100644
index 00000000000..74d96d20716
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-055-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE41 PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﹁文</div>
+
+
+
+
+
+<div class="ref">中中<br />﹁文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-056-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-056-ref.xht
new file mode 100644
index 00000000000..4280381ff8d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-056-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE43 PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﹃文</div>
+
+
+
+
+
+<div class="ref">中中<br />﹃文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-057-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-057-ref.xht
new file mode 100644
index 00000000000..f9696836621
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-057-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE47 PRESENTATION FORM FOR VERTICAL LEFT SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﹇文</div>
+
+
+
+
+
+<div class="ref">中中<br />﹇文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-058-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-058-ref.xht
new file mode 100644
index 00000000000..a7dad03f8b8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-058-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE59 SMALL LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﹙文</div>
+
+
+
+
+
+<div class="ref">中中<br />﹙文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-059-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-059-ref.xht
new file mode 100644
index 00000000000..05b59fdb9fa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-059-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE5B SMALL LEFT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﹛文</div>
+
+
+
+
+
+<div class="ref">中中<br />﹛文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-060-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-060-ref.xht
new file mode 100644
index 00000000000..95f44901efe
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-060-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE5D SMALL LEFT TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />﹝文</div>
+
+
+
+
+
+<div class="ref">中中<br />﹝文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-061-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-061-ref.xht
new file mode 100644
index 00000000000..9683c8d89b0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-061-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF08 FULLWIDTH LEFT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />(文</div>
+
+
+
+
+
+<div class="ref">中中<br />(文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-062-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-062-ref.xht
new file mode 100644
index 00000000000..6805b25c003
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-062-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF3B FULLWIDTH LEFT SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />[文</div>
+
+
+
+
+
+<div class="ref">中中<br />[文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-063-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-063-ref.xht
new file mode 100644
index 00000000000..9fe4ca7d74e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-063-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF5B FULLWIDTH LEFT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />{文</div>
+
+
+
+
+
+<div class="ref">中中<br />{文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-064-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-064-ref.xht
new file mode 100644
index 00000000000..131c1909e51
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-064-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF5F FULLWIDTH LEFT WHITE PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />⦅文</div>
+
+
+
+
+
+<div class="ref">中中<br />⦅文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-065-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-065-ref.xht
new file mode 100644
index 00000000000..b26a2d032b8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-065-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF62 HALFWIDTH LEFT CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />「文</div>
+
+
+
+
+
+<div class="ref">中中<br />「文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-100-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-100-ref.xht
new file mode 100644
index 00000000000..0657ffef420
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-100-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3001 IDEOGRAPHIC COMMA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中、文</div>
+
+
+
+
+
+<div class="ref">中中<br />中、文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-101-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-101-ref.xht
new file mode 100644
index 00000000000..4ef50649357
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-101-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3002 IDEOGRAPHIC FULL STOP</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中。文</div>
+
+
+
+
+
+<div class="ref">中中<br />中。文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-102-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-102-ref.xht
new file mode 100644
index 00000000000..bcc75590dca
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-102-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE50 SMALL COMMA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹐文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-103-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-103-ref.xht
new file mode 100644
index 00000000000..fdf2ffecb05
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-103-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE52 SMALL FULL STOP</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹒文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹒文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-104-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-104-ref.xht
new file mode 100644
index 00000000000..fa0730b0f81
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-104-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF0C FULLWIDTH COMMA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中,文</div>
+
+
+
+
+
+<div class="ref">中中<br />中,文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-105-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-105-ref.xht
new file mode 100644
index 00000000000..a9bb89c48c4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-105-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF0E FULLWIDTH FULL STOP</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中.文</div>
+
+
+
+
+
+<div class="ref">中中<br />中.文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-106-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-106-ref.xht
new file mode 100644
index 00000000000..d56dd120d45
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-106-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF61 HALFWIDTH IDEOGRAPHIC FULL STOP</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中。文</div>
+
+
+
+
+
+<div class="ref">中中<br />中。文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-107-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-107-ref.xht
new file mode 100644
index 00000000000..28d6f836a2f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-107-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF64 HALFWIDTH IDEOGRAPHIC COMMA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中、文</div>
+
+
+
+
+
+<div class="ref">中中<br />中、文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-108-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-108-ref.xht
new file mode 100644
index 00000000000..be3ed06c10a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-108-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0029 RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中)文</div>
+
+
+
+
+
+<div class="ref">中中<br />中)文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-109-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-109-ref.xht
new file mode 100644
index 00000000000..7592343ff48
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-109-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 005D RIGHT SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中]文</div>
+
+
+
+
+
+<div class="ref">中中<br />中]文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-110-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-110-ref.xht
new file mode 100644
index 00000000000..c9529f4e2e9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-110-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 007D RIGHT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中}文</div>
+
+
+
+
+
+<div class="ref">中中<br />中}文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-111-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-111-ref.xht
new file mode 100644
index 00000000000..eab22f56a9c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-111-ref.xht
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0F3B TIBETAN MARK GUG RTAGS GYAS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.test, .ref { width: 115px; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中༻文</div>
+
+
+
+
+
+<div class="ref">中中<br />中༻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-112-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-112-ref.xht
new file mode 100644
index 00000000000..71dabc81adc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-112-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0F3D TIBETAN MARK ANG KHANG GYAS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中༽文</div>
+
+
+
+
+
+<div class="ref">中中<br />中༽文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-113-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-113-ref.xht
new file mode 100644
index 00000000000..c61bcd0f2ab
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-113-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 169C OGHAM REVERSED FEATHER MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中᚜文</div>
+
+
+
+
+
+<div class="ref">中中<br />中᚜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-114-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-114-ref.xht
new file mode 100644
index 00000000000..9b44e0bfe4e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-114-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2046 RIGHT SQUARE BRACKET WITH QUILL</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁆文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁆文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-115-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-115-ref.xht
new file mode 100644
index 00000000000..f183023e198
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-115-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 207E SUPERSCRIPT RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⁾文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⁾文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-116-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-116-ref.xht
new file mode 100644
index 00000000000..07ca387271e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-116-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 208E SUBSCRIPT RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中₎文</div>
+
+
+
+
+
+<div class="ref">中中<br />中₎文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-117-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-117-ref.xht
new file mode 100644
index 00000000000..13a5ff573a2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-117-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 232A RIGHT-POINTING ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〉文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-118-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-118-ref.xht
new file mode 100644
index 00000000000..4b37da96a7c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-118-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 23B5 BOTTOM SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⎵文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⎵文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-119-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-119-ref.xht
new file mode 100644
index 00000000000..757c8a7815a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-119-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2769 MEDIUM RIGHT PARENTHESIS ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❩文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❩文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-120-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-120-ref.xht
new file mode 100644
index 00000000000..d8f8ee0ac67
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-120-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 276B MEDIUM FLATTENED RIGHT PARENTHESIS ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❫文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❫文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-121-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-121-ref.xht
new file mode 100644
index 00000000000..38e4814bdc6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-121-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 276D MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❭文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❭文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-122-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-122-ref.xht
new file mode 100644
index 00000000000..01e8552fc54
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-122-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 276F HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❯文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❯文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-123-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-123-ref.xht
new file mode 100644
index 00000000000..aa788f8dfdf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-123-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2771 HEAVY RIGHT-POINTING ANGLE BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❱文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❱文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-124-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-124-ref.xht
new file mode 100644
index 00000000000..dbbca80f82b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-124-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2773 LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❳文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❳文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-125-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-125-ref.xht
new file mode 100644
index 00000000000..0dde9435efa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-125-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2775 MEDIUM RIGHT CURLY BRACKET ORNAMENT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中❵文</div>
+
+
+
+
+
+<div class="ref">中中<br />中❵文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-126-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-126-ref.xht
new file mode 100644
index 00000000000..5ac98dc762d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-126-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 27E7 MATHEMATICAL RIGHT WHITE SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⟧文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⟧文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-127-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-127-ref.xht
new file mode 100644
index 00000000000..84522adec05
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-127-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 27E9 MATHEMATICAL RIGHT ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⟩文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⟩文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-128-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-128-ref.xht
new file mode 100644
index 00000000000..8e6d3870bc1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-128-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 27EB MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⟫文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⟫文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-129-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-129-ref.xht
new file mode 100644
index 00000000000..74e186e5b4b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-129-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2984 RIGHT WHITE CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦄文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦄文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-130-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-130-ref.xht
new file mode 100644
index 00000000000..1f8e0742c86
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-130-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2986 RIGHT WHITE PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦆文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦆文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-131-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-131-ref.xht
new file mode 100644
index 00000000000..c028c897ec6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-131-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2988 Z NOTATION RIGHT IMAGE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦈文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-132-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-132-ref.xht
new file mode 100644
index 00000000000..846dc671d16
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-132-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 298A Z NOTATION RIGHT BINDING BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦊文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦊文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-133-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-133-ref.xht
new file mode 100644
index 00000000000..9bd2636b8bc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-133-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 298C RIGHT SQUARE BRACKET WITH UNDERBAR</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦌文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦌文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-134-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-134-ref.xht
new file mode 100644
index 00000000000..16d856a1fb7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-134-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 298E RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦎文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦎文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-135-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-135-ref.xht
new file mode 100644
index 00000000000..0251c8539b9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-135-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2990 RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦐文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦐文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-136-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-136-ref.xht
new file mode 100644
index 00000000000..d4ba169eafa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-136-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2992 RIGHT ANGLE BRACKET WITH DOT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦒文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦒文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-137-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-137-ref.xht
new file mode 100644
index 00000000000..11b6592d43f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-137-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2994 RIGHT ARC GREATER-THAN BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦔文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦔文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-138-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-138-ref.xht
new file mode 100644
index 00000000000..5efe9920fa1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-138-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2996 DOUBLE RIGHT ARC LESS-THAN BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦖文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦖文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-139-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-139-ref.xht
new file mode 100644
index 00000000000..10042c473c7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-139-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 2998 RIGHT BLACK TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦘文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦘文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-140-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-140-ref.xht
new file mode 100644
index 00000000000..64c084b68c8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-140-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 29D9 RIGHT WIGGLY FENCE</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⧙文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⧙文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-141-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-141-ref.xht
new file mode 100644
index 00000000000..bb01ba24d04
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-141-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 29DB RIGHT DOUBLE WIGGLY FENCE</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⧛文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⧛文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-142-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-142-ref.xht
new file mode 100644
index 00000000000..48a4cc7a349
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-142-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 29FD RIGHT-POINTING CURVED ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⧽文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⧽文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-143-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-143-ref.xht
new file mode 100644
index 00000000000..eed5fbba810
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-143-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3009 RIGHT ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〉文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〉文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-144-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-144-ref.xht
new file mode 100644
index 00000000000..f055c04eda3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-144-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 300B RIGHT DOUBLE ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中》文</div>
+
+
+
+
+
+<div class="ref">中中<br />中》文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-145-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-145-ref.xht
new file mode 100644
index 00000000000..c9f0d81ed4a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-145-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 300D RIGHT CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中」文</div>
+
+
+
+
+
+<div class="ref">中中<br />中」文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-146-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-146-ref.xht
new file mode 100644
index 00000000000..7fcc6863dbd
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-146-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 300F RIGHT WHITE CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中』文</div>
+
+
+
+
+
+<div class="ref">中中<br />中』文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-147-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-147-ref.xht
new file mode 100644
index 00000000000..8fe08051f7b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-147-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3011 RIGHT BLACK LENTICULAR BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中】文</div>
+
+
+
+
+
+<div class="ref">中中<br />中】文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-148-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-148-ref.xht
new file mode 100644
index 00000000000..3a7d9a716ab
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-148-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3015 RIGHT TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〕文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〕文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-149-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-149-ref.xht
new file mode 100644
index 00000000000..766db9b6387
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-149-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3017 RIGHT WHITE LENTICULAR BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〗文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〗文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-150-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-150-ref.xht
new file mode 100644
index 00000000000..3bbd0128539
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-150-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3019 RIGHT WHITE TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〙文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〙文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-151-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-151-ref.xht
new file mode 100644
index 00000000000..890010d6240
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-151-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301B RIGHT WHITE SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〛文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〛文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-152-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-152-ref.xht
new file mode 100644
index 00000000000..e84aafabe04
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-152-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301E DOUBLE PRIME QUOTATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〞文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〞文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-153-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-153-ref.xht
new file mode 100644
index 00000000000..bac79e9627e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-153-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301F LOW DOUBLE PRIME QUOTATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〟文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〟文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-154-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-154-ref.xht
new file mode 100644
index 00000000000..4562c43b146
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-154-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FD3F ORNATE RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﴿文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﴿文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-155-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-155-ref.xht
new file mode 100644
index 00000000000..c6829fe1274
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-155-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE36 PRESENTATION FORM FOR VERTICAL RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中︶文</div>
+
+
+
+
+
+<div class="ref">中中<br />中︶文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-156-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-156-ref.xht
new file mode 100644
index 00000000000..a5eba15919e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-156-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE38 PRESENTATION FORM FOR VERTICAL RIGHT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中︸文</div>
+
+
+
+
+
+<div class="ref">中中<br />中︸文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-157-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-157-ref.xht
new file mode 100644
index 00000000000..2c7f0f09b75
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-157-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE3A PRESENTATION FORM FOR VERTICAL RIGHT TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中︺文</div>
+
+
+
+
+
+<div class="ref">中中<br />中︺文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-158-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-158-ref.xht
new file mode 100644
index 00000000000..a66746b3172
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-158-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE3C PRESENTATION FORM FOR VERTICAL RIGHT BLACK LENTICULAR BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中︼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中︼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-159-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-159-ref.xht
new file mode 100644
index 00000000000..e6a47df8135
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-159-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE3E PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中︾文</div>
+
+
+
+
+
+<div class="ref">中中<br />中︾文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-160-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-160-ref.xht
new file mode 100644
index 00000000000..11fefdbca2b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-160-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE40 PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹀文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹀文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-161-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-161-ref.xht
new file mode 100644
index 00000000000..81134de9854
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-161-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE42 PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹂文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹂文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-162-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-162-ref.xht
new file mode 100644
index 00000000000..80e3589709b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-162-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE44 PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹄文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹄文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-163-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-163-ref.xht
new file mode 100644
index 00000000000..3a8c5626b33
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-163-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE48 PRESENTATION FORM FOR VERTICAL RIGHT SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹈文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹈文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-164-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-164-ref.xht
new file mode 100644
index 00000000000..b9eb1b0d173
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-164-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE5A SMALL RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹚文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-165-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-165-ref.xht
new file mode 100644
index 00000000000..288ecf598ab
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-165-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE5C SMALL RIGHT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹜文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-166-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-166-ref.xht
new file mode 100644
index 00000000000..d819691df77
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-166-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE5E SMALL RIGHT TORTOISE SHELL BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹞文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹞文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-167-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-167-ref.xht
new file mode 100644
index 00000000000..82e10f36b65
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-167-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF09 FULLWIDTH RIGHT PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中)文</div>
+
+
+
+
+
+<div class="ref">中中<br />中)文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-168-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-168-ref.xht
new file mode 100644
index 00000000000..dbe2939ce59
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-168-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF3D FULLWIDTH RIGHT SQUARE BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中]文</div>
+
+
+
+
+
+<div class="ref">中中<br />中]文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-169-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-169-ref.xht
new file mode 100644
index 00000000000..691b42bb998
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-169-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF5D FULLWIDTH RIGHT CURLY BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中}文</div>
+
+
+
+
+
+<div class="ref">中中<br />中}文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-170-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-170-ref.xht
new file mode 100644
index 00000000000..20e8932a320
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-170-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF60 FULLWIDTH RIGHT WHITE PARENTHESIS</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中⦆文</div>
+
+
+
+
+
+<div class="ref">中中<br />中⦆文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-171-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-171-ref.xht
new file mode 100644
index 00000000000..ed1ac1136a5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-171-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF63 HALFWIDTH RIGHT CORNER BRACKET</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中」文</div>
+
+
+
+
+
+<div class="ref">中中<br />中」文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-200-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-200-ref.xht
new file mode 100644
index 00000000000..26d3ce30127
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-200-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0E5A THAI CHARACTER ANGKHANKHU</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中๚文</div>
+
+
+
+
+
+<div class="ref">中中<br />中๚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-201-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-201-ref.xht
new file mode 100644
index 00000000000..95e9c2a4168
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-201-ref.xht
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 0E5B THAI CHARACTER KHOMUT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+.test, .ref { width: 115px; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中๛文</div>
+
+
+
+
+
+<div class="ref">中中<br />中๛文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-202-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-202-ref.xht
new file mode 100644
index 00000000000..a58c8be2c7c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-202-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 17D4 KHMER SIGN KHAN</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中។文</div>
+
+
+
+
+
+<div class="ref">中中<br />中។文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-203-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-203-ref.xht
new file mode 100644
index 00000000000..8ad6432b755
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-203-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 17D6 KHMER SIGN CAMNUC PII KUUH</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中៖文</div>
+
+
+
+
+
+<div class="ref">中中<br />中៖文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-204-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-204-ref.xht
new file mode 100644
index 00000000000..acf0b79db02
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-204-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 17DA KHMER SIGN KOOMUUT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中៚文</div>
+
+
+
+
+
+<div class="ref">中中<br />中៚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-205-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-205-ref.xht
new file mode 100644
index 00000000000..df1709ec1d9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-205-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 203C DOUBLE EXCLAMATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中‼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-206-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-206-ref.xht
new file mode 100644
index 00000000000..22fb4048ece
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-206-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3005 IDEOGRAPHIC ITERATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+<div class="ref">中中<br />中々文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-207-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-207-ref.xht
new file mode 100644
index 00000000000..a319dffcedb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-207-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 301C WAVE DASH</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〜文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-208-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-208-ref.xht
new file mode 100644
index 00000000000..9ae98abb2a7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-208-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303C MASU MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〼文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〼文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-209-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-209-ref.xht
new file mode 100644
index 00000000000..4dbc8f9b61c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-209-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 303B VERTICAL IDEOGRAPHIC ITERATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+<div class="ref">中中<br />中〻文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-210-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-210-ref.xht
new file mode 100644
index 00000000000..c4d4401e949
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-210-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309B KATAKANA-HIRAGANA VOICED SOUND MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中゛文</div>
+
+
+
+
+
+<div class="ref">中中<br />中゛文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-211-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-211-ref.xht
new file mode 100644
index 00000000000..9c32a7f24b3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-211-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309C KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中゜文</div>
+
+
+
+
+
+<div class="ref">中中<br />中゜文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-212-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-212-ref.xht
new file mode 100644
index 00000000000..e1fe9e8d939
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-212-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309D HIRAGANA ITERATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中ゝ文</div>
+
+
+
+
+
+<div class="ref">中中<br />中ゝ文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-213-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-213-ref.xht
new file mode 100644
index 00000000000..1451699896d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-213-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 309E HIRAGANA VOICED ITERATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中ゞ文</div>
+
+
+
+
+
+<div class="ref">中中<br />中ゞ文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-214-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-214-ref.xht
new file mode 100644
index 00000000000..b1006617a62
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-214-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A0 KATAKANA-HIRAGANA DOUBLE HYPHEN</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中゠文</div>
+
+
+
+
+
+<div class="ref">中中<br />中゠文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-215-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-215-ref.xht
new file mode 100644
index 00000000000..8c00a589afa
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-215-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FB KATAKANA MIDDLE DOT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中・文</div>
+
+
+
+
+
+<div class="ref">中中<br />中・文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-216-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-216-ref.xht
new file mode 100644
index 00000000000..a7499ae257d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-216-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中ー文</div>
+
+
+
+
+
+<div class="ref">中中<br />中ー文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-217-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-217-ref.xht
new file mode 100644
index 00000000000..e14a17e72c6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-217-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FD KATAKANA ITERATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中ヽ文</div>
+
+
+
+
+
+<div class="ref">中中<br />中ヽ文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-218-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-218-ref.xht
new file mode 100644
index 00000000000..df19e3cb38b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-218-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30FE KATAKANA VOICED ITERATION MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中ヾ文</div>
+
+
+
+
+
+<div class="ref">中中<br />中ヾ文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-219-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-219-ref.xht
new file mode 100644
index 00000000000..02e553955d1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-219-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE54 SMALL SEMICOLON</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹔文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹔文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-220-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-220-ref.xht
new file mode 100644
index 00000000000..bb7ff74a30c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-220-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FE55 SMALL COLON</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中﹕文</div>
+
+
+
+
+
+<div class="ref">中中<br />中﹕文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-221-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-221-ref.xht
new file mode 100644
index 00000000000..fd595d47495
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-221-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1A FULLWIDTH COLON</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+<div class="ref">中中<br />中:文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-222-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-222-ref.xht
new file mode 100644
index 00000000000..ea9ee6b05f5
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-222-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF1B FULLWIDTH SEMICOLON</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+<div class="ref">中中<br />中;文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-223-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-223-ref.xht
new file mode 100644
index 00000000000..767b59e2a1c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-223-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF65 HALFWIDTH KATAKANA MIDDLE DOT</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中・文</div>
+
+
+
+
+
+<div class="ref">中中<br />中・文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-224-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-224-ref.xht
new file mode 100644
index 00000000000..4290cb61f0c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-224-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF70 HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中ー文</div>
+
+
+
+
+
+<div class="ref">中中<br />中ー文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-225-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-225-ref.xht
new file mode 100644
index 00000000000..1b3e63aa4f8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-225-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF9E HALFWIDTH KATAKANA VOICED SOUND MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中゙文</div>
+
+
+
+
+
+<div class="ref">中中<br />中゙文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-226-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-226-ref.xht
new file mode 100644
index 00000000000..7447bdbd69a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-226-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: FF9F HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">中中<br />中゚文</div>
+
+
+
+
+
+<div class="ref">中中<br />中゚文</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-250-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-250-ref.xht
new file mode 100644
index 00000000000..6cf3a28b89c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-250-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3041 HIRAGANA LETTER SMALL A</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かぁな</div>
+
+
+
+
+
+<div class="ref">かか<br />かぁな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-251-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-251-ref.xht
new file mode 100644
index 00000000000..7859fdd97b1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-251-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3043 HIRAGANA LETTER SMALL I</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かぃな</div>
+
+
+
+
+
+<div class="ref">かか<br />かぃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-252-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-252-ref.xht
new file mode 100644
index 00000000000..4bb02bf3f6e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-252-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3045 HIRAGANA LETTER SMALL U</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かぅな</div>
+
+
+
+
+
+<div class="ref">かか<br />かぅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-253-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-253-ref.xht
new file mode 100644
index 00000000000..df98bd8f9da
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-253-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3047 HIRAGANA LETTER SMALL E</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かぇな</div>
+
+
+
+
+
+<div class="ref">かか<br />かぇな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-254-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-254-ref.xht
new file mode 100644
index 00000000000..755e8637ad1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-254-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3049 HIRAGANA LETTER SMALL O</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かぉな</div>
+
+
+
+
+
+<div class="ref">かか<br />かぉな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-255-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-255-ref.xht
new file mode 100644
index 00000000000..f79a8132d14
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-255-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3063 HIRAGANA LETTER SMALL TU</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かっな</div>
+
+
+
+
+
+<div class="ref">かか<br />かっな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-256-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-256-ref.xht
new file mode 100644
index 00000000000..2eae3d0f338
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-256-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3083 HIRAGANA LETTER SMALL YA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かゃな</div>
+
+
+
+
+
+<div class="ref">かか<br />かゃな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-257-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-257-ref.xht
new file mode 100644
index 00000000000..541e3c6d288
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-257-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3085 HIRAGANA LETTER SMALL YU</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かゅな</div>
+
+
+
+
+
+<div class="ref">かか<br />かゅな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-258-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-258-ref.xht
new file mode 100644
index 00000000000..40affd7f84a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-258-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 3087 HIRAGANA LETTER SMALL YO </title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かょな</div>
+
+
+
+
+
+<div class="ref">かか<br />かょな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-259-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-259-ref.xht
new file mode 100644
index 00000000000..0203d4ab27a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-259-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 308E HIRAGANA LETTER SMALL WA </title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two orange boxes are identical.</p>
+
+
+<div class="ref">かか<br />かゎな</div>
+
+
+
+
+
+<div class="ref">かか<br />かゎな</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-260-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-260-ref.xht
new file mode 100644
index 00000000000..aa2b948506c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-260-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A1 KATAKANA LETTER SMALL A</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カァナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カァナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-261-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-261-ref.xht
new file mode 100644
index 00000000000..a822a969916
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-261-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A3 KATAKANA LETTER SMALL I</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カィナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カィナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-262-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-262-ref.xht
new file mode 100644
index 00000000000..3a3eccfb6f6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-262-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A5 KATAKANA LETTER SMALL U</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カゥナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カゥナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-263-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-263-ref.xht
new file mode 100644
index 00000000000..e1abd70c92c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-263-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A7 KATAKANA LETTER SMALL E</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カェナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カェナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-264-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-264-ref.xht
new file mode 100644
index 00000000000..8d2da0c692a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-264-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30A9 KATAKANA LETTER SMALL O</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カォナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カォナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-265-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-265-ref.xht
new file mode 100644
index 00000000000..7db57f1f177
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-265-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30C3 KATAKANA LETTER SMALL TU</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カッナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カッナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-266-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-266-ref.xht
new file mode 100644
index 00000000000..a675f573938
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-266-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E3 KATAKANA LETTER SMALL YA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カャナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カャナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-267-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-267-ref.xht
new file mode 100644
index 00000000000..53666b783ef
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-267-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E5 KATAKANA LETTER SMALL YU</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カュナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カュナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-268-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-268-ref.xht
new file mode 100644
index 00000000000..663a6c204ae
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-268-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30E7 KATAKANA LETTER SMALL YO</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カョナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カョナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-269-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-269-ref.xht
new file mode 100644
index 00000000000..bf555c7be59
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/css3-text-line-break-opclns-269-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS3 Text, linebreaks: 30EE KATAKANA LETTER SMALL WA</title>
+<link href="mailto:ishida@w3.org" rel="author" title="Richard Ishida" />
+<meta content="font" name="flags" />
+<style type="text/css">
+@font-face {
+ font-family: 'mplus-1p-regular';
+ src: url('support/mplus-1p-regular.woff') format('woff');
+ /* filesize: 803K */
+ }
+.test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; }
+</style>
+</head>
+<body>
+
+
+
+<div class="ref">カカ<br />カヮナ</div>
+
+
+
+
+
+<div class="ref">カカ<br />カヮナ</div>
+
+
+
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-horizontal-notref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-horizontal-notref.xht
new file mode 100644
index 00000000000..23bba09bed6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-horizontal-notref.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS Test Reference</title>
+<link href="http://google.com/+MasatakaYakura" rel="author" title="Masataka Yakura" />
+<link href="reference/full-width-notcu-notref.xht" rel="mismatch" />
+<style>
+.tcu-all {
+ text-combine-upright: all;
+}
+</style>
+</head>
+<body>
+
+<p>Test passes if the following paragraphs are identical:</p>
+
+<div>
+ <p>6月<span class="tcu-all">19</span>日</p>
+ <p>6月<span class="tcu-all">19</span>日</p>
+</div>
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-notcu-notref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-notcu-notref.xht
new file mode 100644
index 00000000000..2db212d0e7f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-notcu-notref.xht
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS Test Reference</title>
+<link href="http://google.com/+MasatakaYakura" rel="author" title="Masataka Yakura" />
+<link href="reference/full-width-horizontal-notref.xht" rel="mismatch" />
+<style>
+.test {
+ writing-mode: vertical-rl;
+}
+</style>
+</head>
+<body>
+
+<p>Test passes if the following paragraphs are identical:</p>
+
+<div class="test">
+ <p>6月19日</p>
+ <p>6月19日</p>
+</div>
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-ref.xht
new file mode 100644
index 00000000000..e003471b676
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/full-width-ref.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta charset="utf-8" />
+<title>CSS Test Reference</title>
+<link href="http://google.com/+MasatakaYakura" rel="author" title="Masataka Yakura" />
+<link href="reference/full-width-notcu-notref.xht" rel="mismatch" />
+<link href="reference/full-width-horizontal-notref.xht" rel="mismatch" />
+<style>
+.test {
+ writing-mode: vertical-rl;
+}
+
+.tcu-all {
+ text-combine-upright: all;
+}
+</style>
+</head>
+<body>
+
+<p>Test passes if the following paragraphs are identical:</p>
+
+<div class="test">
+ <p>6月<span class="tcu-all">19</span>日</p>
+ <p>6月<span class="tcu-all">19</span>日</p>
+</div>
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-allow-end-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-allow-end-001-ref.xht
new file mode 100644
index 00000000000..47664fe6175
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-allow-end-001-ref.xht
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: hanging-punctuation - allow-end - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ body {
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ }
+ .no-wrap {
+ white-space: nowrap;
+ }
+ .parent {
+ border: 1px solid gray;
+ margin-left: 2em;
+ width: 10em
+ }
+ span.attention {
+ color: red;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <div>
+ IDEOGRAPHIC COMMA
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これらは満たす文字で、<br/>それらも満たす文字で<br/>す。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これらは満たす文字で、<br/>それらも満たす文字で<br/>す。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ IDEOGRAPHIC FULL STOP
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これは満たす文字です。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これは満たす文字です。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ HALFWIDTH IDEOGRAPHIC COMMA
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ ミタスモジ、ミタスモジ、ミタスモジ、<br/>ミタスモジ。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ ミタスモジ、ミタスモジ、ミタスモジ、<br/>ミタスモジ。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ HALFWIDTH IDEOGRAPHIC FULL STOP
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ ミタスモジ。ミタスモジ。ミタスモジ。<br/>ミタスモジ。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ ミタスモジ。ミタスモジ。ミタスモジ。<br/>ミタスモジ。
+ </div>
+ </div>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-first-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-first-001-ref.xht
new file mode 100644
index 00000000000..5074dd04b01
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-first-001-ref.xht
@@ -0,0 +1,91 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: hanging-punctuation - first - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ body {
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ }
+ .hanging {
+ left: -1em;
+ position: relative;
+ }
+ .no-wrap {
+ white-space: nowrap;
+ }
+ .parent {
+ border: 1px solid gray;
+ margin-left: 2em;
+ width: 10em
+ }
+ span.attention {
+ color: red;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <div>
+ Opening brackets
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ <span class="hanging">「これは、満たすための</span><br/>文字です。」
+ </div>
+ <br/>
+ <div class="no-wrap">
+ <span class="hanging">「これは、満たすための</span><br/>文字です。」
+ </div>
+ </div>
+ <hr/>
+ <div>
+ Closing brackets
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これは、「満たす文<br/>字」です。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これは、「満たす文<br/>字」です。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ Initial quotes
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ <span class="hanging">“これは、満たすための</span><br/>文字です。”
+ </div>
+ <br/>
+ <div class="no-wrap">
+ <span class="hanging">“これは、満たすための</span><br/>文字です。”
+ </div>
+ </div>
+ <hr/>
+ <div>
+ Final quotes
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これは、“満たす文<br/>字”です。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これは、“満たす文<br/>字”です。
+ </div>
+ </div>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-force-end-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-force-end-001-ref.xht
new file mode 100644
index 00000000000..181990c9850
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-force-end-001-ref.xht
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: hanging-punctuation - force-end - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ body {
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ }
+ .no-wrap {
+ white-space: nowrap;
+ }
+ .parent {
+ border: 1px solid gray;
+ margin-left: 2em;
+ width: 10em
+ }
+ span.attention {
+ color: red;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <div>
+ IDEOGRAPHIC COMMA
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これらは満たす文字で、<br/>それらも満たす文字で<br/>す。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これらは満たす文字で、<br/>それらも満たす文字で<br/>す。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ IDEOGRAPHIC FULL STOP
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これは満たす文字です。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これは満たす文字です。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ HALFWIDTH IDEOGRAPHIC COMMA
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ ミタスモジ、ミタスモジ、ミタスモジ、<br/>ミタスモジ。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ ミタスモジ、ミタスモジ、ミタスモジ、<br/>ミタスモジ。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ HALFWIDTH IDEOGRAPHIC FULL STOP
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ ミタスモジ。ミタスモジ。ミタスモジ。<br/>ミタスモジ。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ ミタスモジ。ミタスモジ。ミタスモジ。<br/>ミタスモジ。
+ </div>
+ </div>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-last-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-last-001-ref.xht
new file mode 100644
index 00000000000..f76a9930b7c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/hanging-punctuation-last-001-ref.xht
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: hanging-punctuation - last - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ body {
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ }
+ .no-wrap {
+ white-space: nowrap;
+ }
+ .parent {
+ border: 1px solid gray;
+ margin-left: 2em;
+ width: 10em
+ }
+ span.attention {
+ color: red;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <div>
+ Opening brackets
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ 「これは、満たすため<br/>の文字です。」
+ </div>
+ <br/>
+ <div class="no-wrap">
+ 「これは、満たすため<br/>の文字です。」
+ </div>
+ </div>
+ <hr/>
+ <div>
+ Closing brackets
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これは、「満たす文字」<br/>です。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これは、「満たす文字」<br/>です。
+ </div>
+ </div>
+ <hr/>
+ <div>
+ Initial quotes
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ “これは、満たすため<br/>の文字です。”
+ </div>
+ <br/>
+ <div class="no-wrap">
+ “これは、満たすため<br/>の文字です。”
+ </div>
+ </div>
+ <hr/>
+ <div>
+ Final quotes
+ </div>
+ <div class="parent">
+ <div class="no-wrap">
+ これは、“満たす文字”<br/>です。
+ </div>
+ <br/>
+ <div class="no-wrap">
+ これは、“満たす文字”<br/>です。
+ </div>
+ </div>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-021-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-021-ref.xht
new file mode 100644
index 00000000000..8ab1b9b3a0d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-021-ref.xht
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-normal-021.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- iteration marks -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">々</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">々</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">〻</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">〻</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゝ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゝ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゞ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゞ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヽ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヽ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヾ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヾ</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-022-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-022-ref.xht
new file mode 100644
index 00000000000..9637075cce8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-022-ref.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-normal-022.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- inseparable characters TWO DOT LEADER -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‥</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‥</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- inseparable characters HORIZONTAL ELLIPSIS -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">…</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">…</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-023-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-023-ref.xht
new file mode 100644
index 00000000000..e15db7d0d63
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-023-ref.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-normal-023.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- centered punctuation marks COLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks SEMICOLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks KATAKANA MIDDLE DOT -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH COLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH SEMICOLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks HALFWIDTH KATAKANA MIDDLE DOT -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks DOUBLE EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‼</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‼</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks DOUBLE QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁇</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁇</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks QUESTION EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁈</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁈</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks EXCLAMATION QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁉</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁉</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-024-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-024-ref.xht
new file mode 100644
index 00000000000..2d9bacff4d8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-024-ref.xht
@@ -0,0 +1,105 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-normal-024.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- postfixes PERCENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes CENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes DEGREE SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">°</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">°</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes PER MILLE SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‰</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‰</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes PRIME -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">′</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">′</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes DOUBLE PRIME -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">″</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">″</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes DEGREE CELSIUS -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">℃</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">℃</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes FULLWIDTH PERCENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes FULLWIDTH CENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-025-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-025-ref.xht
new file mode 100644
index 00000000000..634fe2eb59b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-normal-025-ref.xht
@@ -0,0 +1,97 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-normal-025.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- prefixes DOLLAR SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes POUND SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes YEN SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes EURO SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">€</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">€</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes NUMERO SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">№</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">№</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes FULLWIDTH DOLLAR SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes FULLWIDTH POUND SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes FULLWIDTH YEN SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-011-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-011-ref.xht
new file mode 100644
index 00000000000..37cf0ea7390
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-011-ref.xht
@@ -0,0 +1,73 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-011.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- Japanese small kana: HIRAGANA LETTER SMALL A -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぁ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぁ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- Japanese small kana: HIRAGANA LETTER SMALL I -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぃ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぃ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- Japanese small kana: HIRAGANA LETTER SMALL U -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぅ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぅ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- Japanese small kana: HIRAGANA LETTER SMALL E -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぇ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぇ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- Japanese small kana: HIRAGANA LETTER SMALL O -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぉ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ぉ</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-012-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-012-ref.xht
new file mode 100644
index 00000000000..3fcf514fe72
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-012-ref.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-012.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- Katakana-Hiragana prolonged sound mark - fullwidth -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ー</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ー</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- Katakana-Hiragana prolonged sound mark - halfwidth -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ー</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ー</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-013-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-013-ref.xht
new file mode 100644
index 00000000000..057b3f7b10b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-013-ref.xht
@@ -0,0 +1,62 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-013.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- hyphens -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‐</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‐</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">–</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">–</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">〜</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">〜</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">゠</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">゠</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-014-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-014-ref.xht
new file mode 100644
index 00000000000..679b98117fb
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-014-ref.xht
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-014.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- iteration marks -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">々</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">々</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">〻</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">〻</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゝ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゝ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゞ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ゞ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヽ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヽ</span>サンプル文</span>
+ </p>
+ <hr/>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヾ</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">ヾ</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-015-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-015-ref.xht
new file mode 100644
index 00000000000..e4e964ed6c9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-015-ref.xht
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-015.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- inseparable characters TWO DOT LEADER -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‥</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‥</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- inseparable characters HORIZONTAL ELLIPSIS -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">…</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">…</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-016-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-016-ref.xht
new file mode 100644
index 00000000000..7a50aca93a4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-016-ref.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-016.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- centered punctuation marks COLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks SEMICOLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks KATAKANA MIDDLE DOT -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH COLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">:</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH SEMICOLON -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">;</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks HALFWIDTH KATAKANA MIDDLE DOT -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">・</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks DOUBLE EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‼</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‼</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks DOUBLE QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁇</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁇</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks QUESTION EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁈</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁈</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks EXCLAMATION QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁉</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">⁉</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH EXCLAMATION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">!</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- centered punctuation marks FULLWIDTH QUESTION MARK -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">?</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-017-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-017-ref.xht
new file mode 100644
index 00000000000..bc3ba591e02
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-017-ref.xht
@@ -0,0 +1,105 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-017.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- postfixes PERCENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes CENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes DEGREE SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">°</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">°</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes PER MILLE SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‰</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">‰</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes PRIME -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">′</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">′</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes DOUBLE PRIME -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">″</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">″</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes DEGREE CELSIUS -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">℃</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">℃</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes FULLWIDTH PERCENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">%</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- postfixes FULLWIDTH CENT SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¢</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-018-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-018-ref.xht
new file mode 100644
index 00000000000..d0eeaf72a06
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/line-break-strict-018-ref.xht
@@ -0,0 +1,97 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <!-- reftest for line-break-strict-018.xht -->
+ <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com"/>
+ <meta http-equiv="content-language" content="en, ja"/>
+ <style type="text/css">
+ @font-face
+ {
+ font-family: "mplus-1p-regular";
+ src: url("../support/mplus-1p-regular.woff") format("woff");
+ /* filesize: 803300 bytes (784.5 KBytes) */
+ /*
+ mplus-1p-regular.ttf can be downloaded at/from [TBD later]
+ */
+ }
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "mplus-1p-regular";
+ width: 10em;
+ }
+ span.target {
+ background-color: aqua;
+ }
+ </style>
+ </head>
+ <body lang="en">
+ <p>
+ Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
+ </p>
+ <!-- prefixes DOLLAR SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes POUND SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes YEN SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes EURO SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">€</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">€</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes NUMERO SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">№</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">№</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes FULLWIDTH DOLLAR SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">$</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes FULLWIDTH POUND SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">£</span>サンプル文</span>
+ </p>
+ <hr/>
+ <!-- prefixes FULLWIDTH YEN SIGN -->
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ <p class="control" lang="ja">
+ <span>サンプル文サンプル<br/>文<span class="target">¥</span>サンプル文</span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-001-ref.xht
new file mode 100644
index 00000000000..f95c60b4699
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-001-ref.xht
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ #test {
+ border: 1px solid blue;
+ width: 200px;
+ }
+</style>
+</head><body>
+ <p>Test passes if the 'FillerText' within blue box breaks line.</p>
+ <p id="test">FillerTextFillerTextFillerTextFille rText</p>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-002-ref.xht
new file mode 100644
index 00000000000..753baded3a3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-002-ref.xht
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ #ref {
+ border: 1px solid black;
+ width: 200px;
+ }
+ #test {
+ border: 1px solid blue;
+ width: 200px;
+ }
+</style>
+</head><body>
+ <p>Test passes if the 'FillerText' overflows the blue border box, but breaks line within the black border box.</p>
+ <p id="ref">FillerTextFillerTextFillerTextFille rText</p>
+ <p id="test">FillerTextFillerTextFillerTextFillerText</p>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-003-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-003-ref.xht
new file mode 100644
index 00000000000..c05b64be3be
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-003-ref.xht
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ #test {
+ border: 1px solid blue;
+ width: 200px;
+ }
+</style>
+</head><body>
+ <p>Test passes if the 'FillerText' displayed in two rows within blue box.</p>
+ <p id="test">FillerTextFillerText FillerTextFillerText</p>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-004-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-004-ref.xht
new file mode 100644
index 00000000000..e08e809b5d1
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/overflow-wrap-004-ref.xht
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ #test {
+ border: 1px solid blue;
+ width: 200px;
+ }
+</style>
+</head><body>
+ <p>Test passes if the 'FillerText' overflows the blue box.</p>
+ <p id="test">FillerTextFillerTextFillerTextFillerText</p>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-green.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-green.png
new file mode 100644
index 00000000000..b98ca0ba0a0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-green.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-lime.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-lime.png
new file mode 100644
index 00000000000..cb397fb090e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-lime.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-maroon.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-maroon.png
new file mode 100644
index 00000000000..3f86b072195
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-maroon.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-navy.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-navy.png
new file mode 100644
index 00000000000..9b9a03955ba
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-navy.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-red.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-red.png
new file mode 100644
index 00000000000..6bd73ac1018
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-red.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-white.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-white.png
new file mode 100644
index 00000000000..dd43faec54a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/1x1-white.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-gg-rr.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-gg-rr.png
new file mode 100644
index 00000000000..84f5b2a4f1d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-gg-rr.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-green.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-green.png
new file mode 100644
index 00000000000..b3c8cf3eb4c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-green.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-red.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-red.png
new file mode 100644
index 00000000000..823f125b8e4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/60x60-red.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/BPG-Ucnobi-U.woff b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/BPG-Ucnobi-U.woff
new file mode 100644
index 00000000000..577500e2426
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/BPG-Ucnobi-U.woff
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/GentiumPlus-R.woff b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/GentiumPlus-R.woff
new file mode 100644
index 00000000000..2d3bf3ed873
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/GentiumPlus-R.woff
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/a-green.css b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/a-green.css
new file mode 100644
index 00000000000..b0dbb071d5b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/a-green.css
@@ -0,0 +1 @@
+.a { color: green; }
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/b-green.css b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/b-green.css
new file mode 100644
index 00000000000..a0473f5ca26
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/b-green.css
@@ -0,0 +1 @@
+.b { color: green; } \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/c-red.css b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/c-red.css
new file mode 100644
index 00000000000..d4ba5c64e95
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/c-red.css
@@ -0,0 +1 @@
+.c { color: red; } \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/cat.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/cat.png
new file mode 100644
index 00000000000..85dd7324815
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/cat.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-black.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-black.png
new file mode 100644
index 00000000000..01d99006ac0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-black.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-blue.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-blue.png
new file mode 100644
index 00000000000..5d6942be699
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/emphasis-blue.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/mplus-1p-regular.woff b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/mplus-1p-regular.woff
new file mode 100644
index 00000000000..42cfff628b4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/mplus-1p-regular.woff
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-gg-gr.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-gg-gr.png
new file mode 100644
index 00000000000..091de70bb72
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-gg-gr.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rgr-grg.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rgr-grg.png
new file mode 100644
index 00000000000..9b88fbd8114
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rgr-grg.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rrg-rgg.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rrg-rgg.png
new file mode 100644
index 00000000000..fcf4f3fd7d9
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-grg-rrg-rgg.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-rgr-grg-rgr.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-rgr-grg-rgr.png
new file mode 100644
index 00000000000..d454e3a630c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-rgr-grg-rgr.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-tr.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-tr.png
new file mode 100644
index 00000000000..8b4b25364e0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/pattern-tr.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50%.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50%.png
new file mode 100644
index 00000000000..cf2eea6b438
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50%.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50px.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50px.png
new file mode 100644
index 00000000000..9f46583665c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-h-50px.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-100px.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-100px.png
new file mode 100644
index 00000000000..a837eca2225
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-100px.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-50px.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-50px.png
new file mode 100644
index 00000000000..84141028020
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/ruler-v-50px.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-purple.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-purple.png
new file mode 100644
index 00000000000..0f522d78728
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-purple.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-teal.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-teal.png
new file mode 100644
index 00000000000..e567f51b91b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-teal.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-white.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-white.png
new file mode 100644
index 00000000000..5853cbb238c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/square-white.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/support/README b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/support/README
new file mode 100644
index 00000000000..ea8cb9ef357
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/support/README
@@ -0,0 +1,4 @@
+The swatch-green.png file in this directory is really a RED swatch,
+and the swatch-red.png file is really a green swatch.
+
+This directory is used to test relative URIs. \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-blue.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-blue.png
new file mode 100644
index 00000000000..bf2759634d4
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-blue.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-green.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-green.png
new file mode 100644
index 00000000000..0aa79b0c86b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-green.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-lime.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-lime.png
new file mode 100644
index 00000000000..55fd7fdaedf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-lime.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-orange.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-orange.png
new file mode 100644
index 00000000000..d3cd498b52b
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-orange.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-red.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-red.png
new file mode 100644
index 00000000000..1caf25c992a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-red.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-white.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-white.png
new file mode 100644
index 00000000000..1a7d4323d77
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-white.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-yellow.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-yellow.png
new file mode 100644
index 00000000000..1591aa0e2e2
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/swatch-yellow.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-bl.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-bl.png
new file mode 100644
index 00000000000..904e24e996a
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-bl.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-br.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-br.png
new file mode 100644
index 00000000000..f413ff5c1a0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-br.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-inner-half-size.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-inner-half-size.png
new file mode 100644
index 00000000000..e473bf80efc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-inner-half-size.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-outer.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-outer.png
new file mode 100644
index 00000000000..82eeace7fc0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-outer.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tl.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tl.png
new file mode 100644
index 00000000000..f6ac0ef7e8f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tl.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tr.png b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tr.png
new file mode 100644
index 00000000000..59843ae54b6
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/support/test-tr.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-integer-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-integer-001-ref.xht
new file mode 100644
index 00000000000..332c62a6080
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-integer-001-ref.xht
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <title>CSS Text Test: tab-size: 4</title>
+ <link href="david@openweb.io" rel="author" title="David Storey" />
+ <style type="text/css">
+ .container {
+ position: absolute;
+ }
+ .green {
+ position: absolute;
+ top: 0;
+ left: 0;
+ background: green;
+ }
+ .red {
+ position: absolute;
+ top: 0;
+ left: 0;
+ background: red;
+ tab-size: 4;
+ }
+ </style>
+</head>
+<body>
+ <p>The test passes if there is no red.</p>
+ <div class="container">
+ <pre class="green"> </pre>
+ </div>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-length-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-length-001-ref.xht
new file mode 100644
index 00000000000..6cdd8224292
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/tab-size-length-001-ref.xht
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <title>CSS Text Test: tab-size: length</title>
+ <link href="david@openweb.io" rel="author" title="David Storey" />
+ <style type="text/css">
+ .container {
+ position: absolute;
+ }
+ .test {
+ font-family: Ahem;
+ font-size: 20px;
+
+ position: absolute;
+ top: 0;
+ left: 0;
+ background: green;
+
+ }
+ </style>
+</head>
+<body>
+ <p>The test passes if there is no red.</p>
+ <div class="container">
+ <pre class="green test"> </pre>
+ </div>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-006-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-006-ref.xht
new file mode 100644
index 00000000000..c2b559c5317
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-006-ref.xht
@@ -0,0 +1,14 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ div {
+ border: 1px solid blue;
+ }
+</style>
+</head><body>
+ <p>Test passes if the words "Filler Text" below are aligned to the left, inside the blue box.</p>
+ <div>Filler Text</div>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-007-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-007-ref.xht
new file mode 100644
index 00000000000..c4d18babf41
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-007-ref.xht
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ div {
+ border: 1px solid blue;
+ direction: rtl;
+ }
+</style>
+</head><body>
+ <p>Test passes if the words "Filler Text" below are aligned to the right, inside the blue box.</p>
+ <div>Filler Text</div>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-last-010-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-last-010-ref.xht
new file mode 100644
index 00000000000..9af409a0437
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-align-last-010-ref.xht
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
+<title>CSS Text Test Reference File</title>
+<link href="http://www.intel.com" rel="author" title="Intel" />
+<style>
+ div {
+ border: 1px solid blue;
+ direction: rtl;
+ }
+</style>
+</head><body>
+ <p>Test passes if the line of "FillerText" below is aligned to the right, inside the blue box.</p>
+ <div>FillerText FillerText FillerText FillerText FillerText</div>
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-color-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-color-001-ref.xht
new file mode 100644
index 00000000000..e346d569f77
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-color-001-ref.xht
@@ -0,0 +1,145 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis - color - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin: 0.6em 0 0;
+ }
+ .parent
+ {
+ border: solid 1px gray;
+ font-size: 2em;
+ width: 10em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0em;
+ position: absolute;
+ top: -1.5em;
+ }
+ .black
+ {
+ color: black;
+ }
+ .blue
+ {
+ color: blue;
+ }
+ .green
+ {
+ color: green;
+ }
+ .red
+ {
+ color: red;
+ }
+ ]]></style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'parent') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
+ black
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="black refcommon">●</span></span><span class="common">i<span class="black refcommon">●</span></span><span class="common">l<span class="black refcommon">●</span></span><span class="common">l<span class="black refcommon">●</span></span><span class="common">e<span class="black refcommon">●</span></span><span class="common">r<span class="black refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="black refcommon">●</span></span><span class="common">i<span class="black refcommon">●</span></span><span class="common">l<span class="black refcommon">●</span></span><span class="common">l<span class="black refcommon">●</span></span><span class="common">e<span class="black refcommon">●</span></span><span class="common">r<span class="black refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ blue
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="blue refcommon">●</span></span><span class="common">i<span class="blue refcommon">●</span></span><span class="common">l<span class="blue refcommon">●</span></span><span class="common">l<span class="blue refcommon">●</span></span><span class="common">e<span class="blue refcommon">●</span></span><span class="common">r<span class="blue refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="blue refcommon">●</span></span><span class="common">i<span class="blue refcommon">●</span></span><span class="common">l<span class="blue refcommon">●</span></span><span class="common">l<span class="blue refcommon">●</span></span><span class="common">e<span class="blue refcommon">●</span></span><span class="common">r<span class="blue refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ green
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="green refcommon">●</span></span><span class="common">i<span class="green refcommon">●</span></span><span class="common">l<span class="green refcommon">●</span></span><span class="common">l<span class="green refcommon">●</span></span><span class="common">e<span class="green refcommon">●</span></span><span class="common">r<span class="green refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="green refcommon">●</span></span><span class="common">i<span class="green refcommon">●</span></span><span class="common">l<span class="green refcommon">●</span></span><span class="common">l<span class="green refcommon">●</span></span><span class="common">e<span class="green refcommon">●</span></span><span class="common">r<span class="green refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ red
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="red refcommon">●</span></span><span class="common">i<span class="red refcommon">●</span></span><span class="common">l<span class="red refcommon">●</span></span><span class="common">l<span class="red refcommon">●</span></span><span class="common">e<span class="red refcommon">●</span></span><span class="common">r<span class="red refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="red refcommon">●</span></span><span class="common">i<span class="red refcommon">●</span></span><span class="common">l<span class="red refcommon">●</span></span><span class="common">l<span class="red refcommon">●</span></span><span class="common">e<span class="red refcommon">●</span></span><span class="common">r<span class="red refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ current-color
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">●</span></span><span class="common">i<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">e<span class="refcommon">●</span></span><span class="common">r<span class="refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">●</span></span><span class="common">i<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">e<span class="refcommon">●</span></span><span class="common">r<span class="refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <p class="fontChange" style="display: block;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-001-ref.xht
new file mode 100644
index 00000000000..16d6f634c63
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-001-ref.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - above left - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin-top: 0.5em;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ width: 6em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0.6em;
+ position: absolute;
+ }
+ .top
+ {
+ top: -1.4em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of upper and lower block in the square box is identical.</p>
+ <p>horizontal</p>
+ <div class="parent">
+ <div class="margin">
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ <br/>
+ <div class="parent">
+ <div class="margin">
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-002-ref.xht
new file mode 100644
index 00000000000..b587edd3a8e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-left-002-ref.xht
@@ -0,0 +1,64 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - above left - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .displayarea
+ {
+ border: solid 1px gray;
+ padding: 10px;
+ width: 10em;
+ }
+ .floatright
+ {
+ float: right;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ height: 6em;
+ width: 2em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 1.1em;
+ position: absolute;
+ top: 0.1em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of left and right block in the square box is identical.</p>
+ <p>vertical</p>
+ <div class="displayarea">
+ <div class="parent floatright">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ <div class="parent">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-001-ref.xht
new file mode 100644
index 00000000000..e9e52dc060c
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-001-ref.xht
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - above right - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin-top: 0.5em;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ width: 6em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0.6em;
+ position: absolute;
+ }
+ .top
+ {
+ top: -1.4em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of upper and lower block in the square box is identical.</p>
+ <p>horizontal</p>
+ <div class="parent">
+ <div class="margin">
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ <br/>
+ <div class="parent">
+ <div class="margin">
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-002-ref.xht
new file mode 100644
index 00000000000..39880635a95
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-above-right-002-ref.xht
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - above right - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ left: -0.5em;
+ line-height: 1em;
+ position: relative;
+ }
+ .displayarea
+ {
+ border: solid 1px gray;
+ padding: 10px;
+ width: 10em;
+ }
+ .floatright
+ {
+ float: right;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ height: 6em;
+ width: 2em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 4.1em;
+ position: absolute;
+ top: 0.1em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of left and right block in the square box is identical.</p>
+ <p>vertical</p>
+ <div class="displayarea">
+ <div class="parent floatright">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ <div class="parent">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-001-ref.xht
new file mode 100644
index 00000000000..26c9d8b1f47
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-001-ref.xht
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - below left - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ width: 6em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0.6em;
+ position: absolute;
+ }
+ .top
+ {
+ top: 1.6em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of upper and lower block in the square box is identical.</p>
+ <p>horizontal</p>
+ <div class="parent">
+ <div>
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ <br/>
+ <div class="parent">
+ <div>
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-002-ref.xht
new file mode 100644
index 00000000000..a4acb7c44ba
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-left-002-ref.xht
@@ -0,0 +1,64 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - below left - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .displayarea
+ {
+ border: solid 1px gray;
+ padding: 10px;
+ width: 10em;
+ }
+ .floatright
+ {
+ float: right;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ height: 6em;
+ width: 2em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 1.1em;
+ position: absolute;
+ top: 0.1em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of left and right block in the square box is identical.</p>
+ <p>vertical</p>
+ <div class="displayarea">
+ <div class="parent floatright">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ <div class="parent">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-001-ref.xht
new file mode 100644
index 00000000000..ad4ccfbd832
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-001-ref.xht
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - below right - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ width: 6em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0.6em;
+ position: absolute;
+ }
+ .top
+ {
+ top: 1.6em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of upper and lower block in the square box is identical.</p>
+ <p>horizontal</p>
+ <div class="parent">
+ <div class="margin">
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ <br/>
+ <div class="parent">
+ <div class="margin">
+ <span class="common">a<span class="refcommon top">●</span></span><span class="common">b<span class="refcommon top">●</span></span><span class="common">c<span class="refcommon top">●</span></span>
+ de<br/>
+ <br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-002-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-002-ref.xht
new file mode 100644
index 00000000000..1510187385e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-position-below-right-002-ref.xht
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-position - below right - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ left: -0.5em;
+ line-height: 1em;
+ position: relative;
+ }
+ .displayarea
+ {
+ border: solid 1px gray;
+ padding: 10px;
+ width: 10em;
+ }
+ .floatright
+ {
+ float: right;
+ }
+ .parent
+ {
+ background: yellow;
+ border: solid 1px gray;
+ color: blue;
+ font: 20px/1em ahem;
+ height: 6em;
+ width: 2em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 4.1em;
+ position: absolute;
+ top: 0.1em;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of left and right block in the square box is identical.</p>
+ <p>vertical</p>
+ <div class="displayarea">
+ <div class="parent floatright">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ <div class="parent">
+ <span class="common">&nbsp;a<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;b<span class="refcommon">●</span></span><br/>
+ <span class="common">&nbsp;c<span class="refcommon">●</span></span><br/>
+ &nbsp;&nbsp;<br/>
+ <span class="common">&nbsp;d</span><br/>
+ <span class="common">&nbsp;e</span><br/>
+ </div>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-filled-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-filled-001-ref.xht
new file mode 100644
index 00000000000..ef9c2719ca8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-filled-001-ref.xht
@@ -0,0 +1,142 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-style - filled - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin: 18px 0 0;
+ }
+ .parent
+ {
+ border: solid 1px gray;
+ font-size: 2em;
+ width: 10em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0em;
+ position: absolute;
+ top: -1.5em;
+ }
+ ]]></style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'parent') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
+ filled
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">•</span></span><span class="common">i<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">e<span class="refcommon">•</span></span><span class="common">r<span class="refcommon">•</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">•</span></span><span class="common">i<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">e<span class="refcommon">•</span></span><span class="common">r<span class="refcommon">•</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ filled circle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">●</span></span><span class="common">i<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">e<span class="refcommon">●</span></span><span class="common">r<span class="refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">●</span></span><span class="common">i<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">e<span class="refcommon">●</span></span><span class="common">r<span class="refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ filled dot
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">•</span></span><span class="common">i<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">e<span class="refcommon">•</span></span><span class="common">r<span class="refcommon">•</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">•</span></span><span class="common">i<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">e<span class="refcommon">•</span></span><span class="common">r<span class="refcommon">•</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ filled double-circle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">◉</span></span><span class="common">i<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">e<span class="refcommon">◉</span></span><span class="common">r<span class="refcommon">◉</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">◉</span></span><span class="common">i<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">e<span class="refcommon">◉</span></span><span class="common">r<span class="refcommon">◉</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ filled sesame
+ <div class="parent">
+ <div class=" margin">
+ <span class="common">F<span class="refcommon">﹅</span></span><span class="common">i<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">e<span class="refcommon">﹅</span></span><span class="common">r<span class="refcommon">﹅</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">﹅</span></span><span class="common">i<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">e<span class="refcommon">﹅</span></span><span class="common">r<span class="refcommon">﹅</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ filled triangle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">▲</span></span><span class="common">i<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">e<span class="refcommon">▲</span></span><span class="common">r<span class="refcommon">▲</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">▲</span></span><span class="common">i<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">e<span class="refcommon">▲</span></span><span class="common">r<span class="refcommon">▲</span></span>
+ Text
+ </div>
+ </div>
+ <p class="fontChange" style="display: block;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-none-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-none-001-ref.xht
new file mode 100644
index 00000000000..4d795a3e7cc
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-none-001-ref.xht
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-style - none - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .parent
+ {
+ border: solid 1px gray;
+ font-size: 2em;
+ width: 10em;
+ }
+ ]]></style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'parent') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <p>Test passes if a pair of upper and lower "Filler Text" in the square box is identical.</p>
+ <div>
+ none
+ <div class="parent">
+ <div>Filler Text</div>
+ <br/>
+ <div>Filler Text</div>
+ </div>
+ <p class="fontChange" style="display: block;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-open-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-open-001-ref.xht
new file mode 100644
index 00000000000..621d2f76d5d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-open-001-ref.xht
@@ -0,0 +1,142 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-style - open - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin: 18px 0 0;
+ }
+ .parent
+ {
+ border: solid 1px gray;
+ font-size: 2em;
+ width: 10em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0em;
+ position: absolute;
+ top: -1.5em;
+ }
+ ]]></style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'parent') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
+ open
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">◦</span></span><span class="common">i<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">e<span class="refcommon">◦</span></span><span class="common">r<span class="refcommon">◦</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">◦</span></span><span class="common">i<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">e<span class="refcommon">◦</span></span><span class="common">r<span class="refcommon">◦</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ open circle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">○</span></span><span class="common">i<span class="refcommon">○</span></span><span class="common">l<span class="refcommon">○</span></span><span class="common">l<span class="refcommon">○</span></span><span class="common">e<span class="refcommon">○</span></span><span class="common">r<span class="refcommon">○</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">○</span></span><span class="common">i<span class="refcommon">○</span></span><span class="common">l<span class="refcommon">○</span></span><span class="common">l<span class="refcommon">○</span></span><span class="common">e<span class="refcommon">○</span></span><span class="common">r<span class="refcommon">○</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ open dot
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">◦</span></span><span class="common">i<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">e<span class="refcommon">◦</span></span><span class="common">r<span class="refcommon">◦</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">◦</span></span><span class="common">i<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">l<span class="refcommon">◦</span></span><span class="common">e<span class="refcommon">◦</span></span><span class="common">r<span class="refcommon">◦</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ open double-circle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">◎</span></span><span class="common">i<span class="refcommon">◎</span></span><span class="common">l<span class="refcommon">◎</span></span><span class="common">l<span class="refcommon">◎</span></span><span class="common">e<span class="refcommon">◎</span></span><span class="common">r<span class="refcommon">◎</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">◎</span></span><span class="common">i<span class="refcommon">◎</span></span><span class="common">l<span class="refcommon">◎</span></span><span class="common">l<span class="refcommon">◎</span></span><span class="common">e<span class="refcommon">◎</span></span><span class="common">r<span class="refcommon">◎</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ open sesame
+ <div class="parent">
+ <div class=" margin">
+ <span class="common">F<span class="refcommon">﹆</span></span><span class="common">i<span class="refcommon">﹆</span></span><span class="common">l<span class="refcommon">﹆</span></span><span class="common">l<span class="refcommon">﹆</span></span><span class="common">e<span class="refcommon">﹆</span></span><span class="common">r<span class="refcommon">﹆</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">﹆</span></span><span class="common">i<span class="refcommon">﹆</span></span><span class="common">l<span class="refcommon">﹆</span></span><span class="common">l<span class="refcommon">﹆</span></span><span class="common">e<span class="refcommon">﹆</span></span><span class="common">r<span class="refcommon">﹆</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ open triangle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">△</span></span><span class="common">i<span class="refcommon">△</span></span><span class="common">l<span class="refcommon">△</span></span><span class="common">l<span class="refcommon">△</span></span><span class="common">e<span class="refcommon">△</span></span><span class="common">r<span class="refcommon">△</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">△</span></span><span class="common">i<span class="refcommon">△</span></span><span class="common">l<span class="refcommon">△</span></span><span class="common">l<span class="refcommon">△</span></span><span class="common">e<span class="refcommon">△</span></span><span class="common">r<span class="refcommon">△</span></span>
+ Text
+ </div>
+ </div>
+ <p class="fontChange" style="display: block;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-shape-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-shape-001-ref.xht
new file mode 100644
index 00000000000..88777dc5ae3
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-shape-001-ref.xht
@@ -0,0 +1,129 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-style - shape - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin: 18px 0 0;
+ }
+ .parent
+ {
+ border: solid 1px gray;
+ font-size: 2em;
+ width: 10em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0em;
+ position: absolute;
+ top: -1.5em;
+ }
+ ]]></style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'parent') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if each pair of upper and lower "Filler Text" in the square box is identical.</p>
+ circle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">●</span></span><span class="common">i<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">e<span class="refcommon">●</span></span><span class="common">r<span class="refcommon">●</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">●</span></span><span class="common">i<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">l<span class="refcommon">●</span></span><span class="common">e<span class="refcommon">●</span></span><span class="common">r<span class="refcommon">●</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ dot
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">•</span></span><span class="common">i<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">e<span class="refcommon">•</span></span><span class="common">r<span class="refcommon">•</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">•</span></span><span class="common">i<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">l<span class="refcommon">•</span></span><span class="common">e<span class="refcommon">•</span></span><span class="common">r<span class="refcommon">•</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ double-circle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">◉</span></span><span class="common">i<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">e<span class="refcommon">◉</span></span><span class="common">r<span class="refcommon">◉</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">◉</span></span><span class="common">i<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">l<span class="refcommon">◉</span></span><span class="common">e<span class="refcommon">◉</span></span><span class="common">r<span class="refcommon">◉</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ sesame
+ <div class="parent">
+ <div class=" margin">
+ <span class="common">F<span class="refcommon">﹅</span></span><span class="common">i<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">e<span class="refcommon">﹅</span></span><span class="common">r<span class="refcommon">﹅</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">﹅</span></span><span class="common">i<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">l<span class="refcommon">﹅</span></span><span class="common">e<span class="refcommon">﹅</span></span><span class="common">r<span class="refcommon">﹅</span></span>
+ Text
+ </div>
+ </div>
+ <br/>
+ triangle
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">▲</span></span><span class="common">i<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">e<span class="refcommon">▲</span></span><span class="common">r<span class="refcommon">▲</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">▲</span></span><span class="common">i<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">l<span class="refcommon">▲</span></span><span class="common">e<span class="refcommon">▲</span></span><span class="common">r<span class="refcommon">▲</span></span>
+ Text
+ </div>
+ </div>
+ <p class="fontChange" style="display: block;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-string-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-string-001-ref.xht
new file mode 100644
index 00000000000..91506ee0ff0
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-emphasis-style-string-001-ref.xht
@@ -0,0 +1,77 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-emphasis-style - string - basic cases Reftest Reference</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ .common
+ {
+ line-height: 1em;
+ position: relative;
+ }
+ .margin
+ {
+ margin: 18px 0 0;
+ }
+ .parent
+ {
+ border: solid 1px gray;
+ font-size: 2em;
+ width: 10em;
+ }
+ .refcommon
+ {
+ font-size: 0.5em;
+ left: 0em;
+ position: absolute;
+ top: -1.5em;
+ }
+ ]]></style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'parent') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <div>
+ <p>Test passes if a pair of upper and lower "Filler Text" in the square box is identical.</p>
+ string
+ <div class="parent">
+ <div class="margin">
+ <span class="common">F<span class="refcommon">!</span></span><span class="common">i<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">e<span class="refcommon">!</span></span><span class="common">r<span class="refcommon">!</span></span>
+ Text
+ </div>
+ <br/>
+ <div>
+ <span class="common">F<span class="refcommon">!</span></span><span class="common">i<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">l<span class="refcommon">!</span></span><span class="common">e<span class="refcommon">!</span></span><span class="common">r<span class="refcommon">!</span></span>
+ Text
+ </div>
+ </div>
+ <p class="fontChange" style="display: block;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-indent-percentage-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-indent-percentage-001-ref.xht
new file mode 100644
index 00000000000..48b6af63efe
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-indent-percentage-001-ref.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: text-indent Percentage - basic cases</title>
+ <link rel="author" title="Makoto Kikuchi" href="mailto:kikuchi@est.co.jp"/>
+ <style type="text/css"><![CDATA[
+ #parent
+ {
+ font: 16px/1em Ahem;
+ position: relative;
+ width: 400px;
+ }
+ .reference{
+ margin-left: 50%;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if there is no red visible on the page.</p>
+ <div id="parent">
+ <div>X</div>
+ </div>
+ <p>Test passes if the following two text blocks look same in terms of margin-left and text-indent respectively.</p>
+ <div>
+ <span class="reference">abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz.</span><br/>
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ.<br/>
+ </div>
+ <div>
+ <span class="reference">abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz.</span><br/>
+ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ.<br/>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-capitalize-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-capitalize-001-ref.xht
new file mode 100644
index 00000000000..ca122e53f65
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-capitalize-001-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: text-transform - capitalize - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if the first sentence matches the second one.
+ </p>
+ <div>
+ <span>All Words Should Be Put In Titlecase.</span>
+ </div>
+ <div>
+ <span>All Words Should Be Put In Titlecase.</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-fullwidth-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-fullwidth-001-ref.xht
new file mode 100644
index 00000000000..1fc31ef0859
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-fullwidth-001-ref.xht
@@ -0,0 +1,341 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: text-transform - fullwidth - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ background-color: cyan;
+ }
+ .test {
+ color: Blue;
+ font-size: 200%;
+ line-height: 1.2em;
+ }
+ .test div {
+ display: inline-block;
+ margin-bottom: 1em;
+ margin-top: 1em;
+ text-align: center;
+ white-space: nowrap;
+ width: 5em;
+ }
+ ]]>
+ </style>
+ <script type="text/javascript">
+ // <![CDATA[
+ // Set Font Family to 'IPAMincho'
+ function setFontFamily () {
+ var fontName = 'IPAMincho';
+ var divs = document.getElementsByTagName('div');
+ var i = 0;
+ var div;
+ while (i < divs.length) {
+ div = divs.item(i);
+ if (div.className == 'test') {
+ div.style.fontFamily = fontName;
+ }
+ i++;
+ }
+ }
+ // ]]>
+ </script>
+ </head>
+ <body>
+ <p>
+ Test passes if the upper character in each pair matches the lower one in both shape <strong>and size</strong>.
+ </p>
+ <div class="test">
+
+ <!-- FULLWIDTH LATIN -->
+ <div>[<span> </span>]<br />[<span> </span>]</div>
+ <div><span>!</span><br /><span>!</span></div>
+ <div><span>”</span><br /><span>”</span></div>
+ <div><span>#</span><br /><span>#</span></div>
+ <div><span>$</span><br /><span>$</span></div>
+ <div><span>%</span><br /><span>%</span></div>
+ <div><span>&</span><br /><span>&</span></div>
+ <div><span>’</span><br /><span>’</span></div>
+ <div><span>(</span><br /><span>(</span></div>
+ <div><span>)</span><br /><span>)</span></div>
+ <div><span>*</span><br /><span>*</span></div>
+ <div><span>+</span><br /><span>+</span></div>
+ <div><span>,</span><br /><span>,</span></div>
+ <div><span>-</span><br /><span>-</span></div>
+ <div><span>.</span><br /><span>.</span></div>
+ <div><span>/</span><br /><span>/</span></div>
+ <br />
+ <div><span>0</span><br /><span>0</span></div>
+ <div><span>1</span><br /><span>1</span></div>
+ <div><span>2</span><br /><span>2</span></div>
+ <div><span>3</span><br /><span>3</span></div>
+ <div><span>4</span><br /><span>4</span></div>
+ <div><span>5</span><br /><span>5</span></div>
+ <div><span>6</span><br /><span>6</span></div>
+ <div><span>7</span><br /><span>7</span></div>
+ <div><span>8</span><br /><span>8</span></div>
+ <div><span>9</span><br /><span>9</span></div>
+ <br />
+ <div><span>:</span><br /><span>:</span></div>
+ <div><span>;</span><br /><span>;</span></div>
+ <div><span><</span><br /><span><</span></div>
+ <div><span>=</span><br /><span>=</span></div>
+ <div><span>></span><br /><span>></span></div>
+ <div><span>?</span><br /><span>?</span></div>
+ <div><span>@</span><br /><span>@</span></div>
+ <br />
+ <div><span>A</span><br /><span>A</span></div>
+ <div><span>B</span><br /><span>B</span></div>
+ <div><span>C</span><br /><span>C</span></div>
+ <div><span>D</span><br /><span>D</span></div>
+ <div><span>E</span><br /><span>E</span></div>
+ <div><span>F</span><br /><span>F</span></div>
+ <div><span>G</span><br /><span>G</span></div>
+ <div><span>H</span><br /><span>H</span></div>
+ <div><span>I</span><br /><span>I</span></div>
+ <div><span>J</span><br /><span>J</span></div>
+ <div><span>K</span><br /><span>K</span></div>
+ <div><span>L</span><br /><span>L</span></div>
+ <div><span>M</span><br /><span>M</span></div>
+ <div><span>N</span><br /><span>N</span></div>
+ <div><span>O</span><br /><span>O</span></div>
+ <div><span>P</span><br /><span>P</span></div>
+ <div><span>Q</span><br /><span>Q</span></div>
+ <div><span>R</span><br /><span>R</span></div>
+ <div><span>S</span><br /><span>S</span></div>
+ <div><span>T</span><br /><span>T</span></div>
+ <div><span>U</span><br /><span>U</span></div>
+ <div><span>V</span><br /><span>V</span></div>
+ <div><span>W</span><br /><span>W</span></div>
+ <div><span>X</span><br /><span>X</span></div>
+ <div><span>Y</span><br /><span>Y</span></div>
+ <div><span>Z</span><br /><span>Z</span></div>
+ <br />
+ <div><span>[</span><br /><span>[</span></div>
+ <div><span>\</span><br /><span>\</span></div>
+ <div><span>]</span><br /><span>]</span></div>
+ <div><span>^</span><br /><span>^</span></div>
+ <div><span>_</span><br /><span>_</span></div>
+ <div><span>`</span><br /><span>`</span></div>
+ <br />
+ <div><span>a</span><br /><span>a</span></div>
+ <div><span>b</span><br /><span>b</span></div>
+ <div><span>c</span><br /><span>c</span></div>
+ <div><span>d</span><br /><span>d</span></div>
+ <div><span>e</span><br /><span>e</span></div>
+ <div><span>f</span><br /><span>f</span></div>
+ <div><span>g</span><br /><span>g</span></div>
+ <div><span>h</span><br /><span>h</span></div>
+ <div><span>i</span><br /><span>i</span></div>
+ <div><span>j</span><br /><span>j</span></div>
+ <div><span>k</span><br /><span>k</span></div>
+ <div><span>l</span><br /><span>l</span></div>
+ <div><span>m</span><br /><span>m</span></div>
+ <div><span>n</span><br /><span>n</span></div>
+ <div><span>o</span><br /><span>o</span></div>
+ <div><span>p</span><br /><span>p</span></div>
+ <div><span>q</span><br /><span>q</span></div>
+ <div><span>r</span><br /><span>r</span></div>
+ <div><span>s</span><br /><span>s</span></div>
+ <div><span>t</span><br /><span>t</span></div>
+ <div><span>u</span><br /><span>u</span></div>
+ <div><span>v</span><br /><span>v</span></div>
+ <div><span>w</span><br /><span>w</span></div>
+ <div><span>x</span><br /><span>x</span></div>
+ <div><span>y</span><br /><span>y</span></div>
+ <div><span>z</span><br /><span>z</span></div>
+ <br />
+ <div><span>{</span><br /><span>{</span></div>
+ <div><span>|</span><br /><span>|</span></div>
+ <div><span>}</span><br /><span>}</span></div>
+ <div><span>~</span><br /><span>~</span></div>
+
+ <div><span>⦅</span><br /><span>⦅</span></div> <!-- LEFT WHITE PARENTHESIS -->
+ <div><span>⦆</span><br /><span>⦆</span></div> <!-- RIGHT WHITE PARENTHESIS -->
+
+ <!-- HALFWIDTH KATAKANA -->
+ <br />
+ <div><span>。</span><br /><span>。</span></div>
+ <div><span>「</span><br /><span>「</span></div>
+ <div><span>」</span><br /><span>」</span></div>
+ <div><span>、</span><br /><span>、</span></div>
+ <div><span>・</span><br /><span>・</span></div>
+ <br />
+ <div><span>ヲ</span><br /><span>ヲ</span></div>
+ <div><span>ァ</span><br /><span>ァ</span></div>
+ <div><span>ィ</span><br /><span>ィ</span></div>
+ <div><span>ゥ</span><br /><span>ゥ</span></div>
+ <div><span>ェ</span><br /><span>ェ</span></div>
+ <div><span>ォ</span><br /><span>ォ</span></div>
+ <div><span>ャ</span><br /><span>ャ</span></div>
+ <div><span>ュ</span><br /><span>ュ</span></div>
+ <div><span>ョ</span><br /><span>ョ</span></div>
+ <div><span>ッ</span><br /><span>ッ</span></div>
+ <div><span>ー</span><br /><span>ー</span></div>
+ <br />
+ <div><span>ア</span><br /><span>ア</span></div>
+ <div><span>イ</span><br /><span>イ</span></div>
+ <div><span>ウ</span><br /><span>ウ</span></div>
+ <div><span>エ</span><br /><span>エ</span></div>
+ <div><span>オ</span><br /><span>オ</span></div>
+ <div><span>カ</span><br /><span>カ</span></div>
+ <div><span>キ</span><br /><span>キ</span></div>
+ <div><span>ク</span><br /><span>ク</span></div>
+ <div><span>ケ</span><br /><span>ケ</span></div>
+ <div><span>コ</span><br /><span>コ</span></div>
+ <div><span>サ</span><br /><span>サ</span></div>
+ <div><span>シ</span><br /><span>シ</span></div>
+ <div><span>ス</span><br /><span>ス</span></div>
+ <div><span>セ</span><br /><span>セ</span></div>
+ <div><span>ソ</span><br /><span>ソ</span></div>
+ <div><span>タ</span><br /><span>タ</span></div>
+ <div><span>チ</span><br /><span>チ</span></div>
+ <div><span>ツ</span><br /><span>ツ</span></div>
+ <div><span>テ</span><br /><span>テ</span></div>
+ <div><span>ト</span><br /><span>ト</span></div>
+ <div><span>ナ</span><br /><span>ナ</span></div>
+ <div><span>ニ</span><br /><span>ニ</span></div>
+ <div><span>ヌ</span><br /><span>ヌ</span></div>
+ <div><span>ネ</span><br /><span>ネ</span></div>
+ <div><span>ノ</span><br /><span>ノ</span></div>
+ <div><span>ハ</span><br /><span>ハ</span></div>
+ <div><span>ヒ</span><br /><span>ヒ</span></div>
+ <div><span>フ</span><br /><span>フ</span></div>
+ <div><span>ヘ</span><br /><span>ヘ</span></div>
+ <div><span>ホ</span><br /><span>ホ</span></div>
+ <div><span>マ</span><br /><span>マ</span></div>
+ <div><span>ミ</span><br /><span>ミ</span></div>
+ <div><span>ム</span><br /><span>ム</span></div>
+ <div><span>メ</span><br /><span>メ</span></div>
+ <div><span>モ</span><br /><span>モ</span></div>
+ <div><span>ヤ</span><br /><span>ヤ</span></div>
+ <div><span>ユ</span><br /><span>ユ</span></div>
+ <div><span>ヨ</span><br /><span>ヨ</span></div>
+ <div><span>ラ</span><br /><span>ラ</span></div>
+ <div><span>リ</span><br /><span>リ</span></div>
+ <div><span>ル</span><br /><span>ル</span></div>
+ <div><span>レ</span><br /><span>レ</span></div>
+ <div><span>ロ</span><br /><span>ロ</span></div>
+ <div><span>ワ</span><br /><span>ワ</span></div>
+ <div><span>ン</span><br /><span>ン</span></div>
+ <br />
+ <div><span>゛</span><br /><span>゛</span></div>
+ <div><span>゜</span><br /><span>゜</span></div>
+
+ <!-- HALFWIDTH HANGUL -->
+ <br />
+ <div>[<span>ᅟ</span>]<br />[<span>ᅟ</span>]</div> <!-- HANGUL FILLER -->
+ <div><span>ᆨ</span><br /><span>ᆨ</span></div> <!-- HANGUL LETTER KIYEOK -->
+ <div><span>ᆩ</span><br /><span>ᆩ</span></div> <!-- HANGUL LETTER SSANGKIYEOK -->
+ <div><span>ᆪ</span><br /><span>ᆪ</span></div> <!-- HANGUL LETTER KIYEOK-SIOS -->
+ <div><span>ᆫ</span><br /><span>ᆫ</span></div> <!-- HANGUL LETTER NIEUN -->
+ <div><span>ᆬ</span><br /><span>ᆬ</span></div> <!-- HANGUL LETTER NIEUN-CIEUC -->
+ <div><span>ᆭ</span><br /><span>ᆭ</span></div> <!-- HANGUL LETTER NIEUN-HIEUH -->
+ <div><span>ᆮ</span><br /><span>ᆮ</span></div> <!-- HANGUL LETTER TIKEUT -->
+ <div><span>ᄄ</span><br /><span>ᄄ</span></div> <!-- HANGUL LETTER SSANGTIKEUT -->
+ <div><span>ᆯ</span><br /><span>ᆯ</span></div> <!-- HANGUL LETTER RIEUL -->
+ <div><span>ᆰ</span><br /><span>ᆰ</span></div> <!-- HANGUL LETTER RIEUL-KIYEOK -->
+ <div><span>ᆱ</span><br /><span>ᆱ</span></div> <!-- HANGUL LETTER RIEUL-MIEUM -->
+ <div><span>ᆲ</span><br /><span>ᆲ</span></div> <!-- HANGUL LETTER RIEUL-PIEUP -->
+ <div><span>ᆳ</span><br /><span>ᆳ</span></div> <!-- HANGUL LETTER RIEUL-SIOS -->
+ <div><span>ᆴ</span><br /><span>ᆴ</span></div> <!-- HANGUL LETTER RIEUL-THIEUTH -->
+ <div><span>ᆵ</span><br /><span>ᆵ</span></div> <!-- HANGUL LETTER RIEUL-PHIEUPH -->
+ <div><span>ᄚ</span><br /><span>ᄚ</span></div> <!-- HANGUL LETTER RIEUL-HIEUH -->
+ <div><span>ᄆ</span><br /><span>ᄆ</span></div> <!-- HANGUL LETTER MIEUM -->
+ <div><span>ᄇ</span><br /><span>ᄇ</span></div> <!-- HANGUL LETTER PIEUP -->
+ <div><span>ᄈ</span><br /><span>ᄈ</span></div> <!-- HANGUL LETTER SSANGPIEUP -->
+ <div><span>ᆹ</span><br /><span>ᆹ</span></div> <!-- HANGUL LETTER PIEUP-SIOS -->
+ <div><span>ᄉ</span><br /><span>ᄉ</span></div> <!-- HANGUL LETTER SIOS -->
+ <div><span>ᆻ</span><br /><span>ᆻ</span></div> <!-- HANGUL LETTER SSANGSIOS -->
+ <div><span>ᄋ</span><br /><span>ᄋ</span></div> <!-- HANGUL LETTER IEUNG -->
+ <div><span>ᆽ</span><br /><span>ᆽ</span></div> <!-- HANGUL LETTER CIEUC -->
+ <div><span>ᄍ</span><br /><span>ᄍ</span></div> <!-- HANGUL LETTER SSANGCIEUC -->
+ <div><span>ᆾ</span><br /><span>ᆾ</span></div> <!-- HANGUL LETTER CHIEUCH -->
+ <div><span>ᄏ</span><br /><span>ᄏ</span></div> <!-- HANGUL LETTER KHIEUKH -->
+ <div><span>ᇀ</span><br /><span>ᇀ</span></div> <!-- HANGUL LETTER THIEUTH -->
+ <div><span>ᄑ</span><br /><span>ᄑ</span></div> <!-- HANGUL LETTER PHIEUPH -->
+ <div><span>ᇂ</span><br /><span>ᇂ</span></div> <!-- HANGUL LETTER HIEUH -->
+ <br />
+ <div><span>ᅡ</span><br /><span>ᅡ</span></div> <!-- HANGUL LETTER A -->
+ <div><span>ᅢ</span><br /><span>ᅢ</span></div> <!-- HANGUL LETTER AE -->
+ <div><span>ᅣ</span><br /><span>ᅣ</span></div> <!-- HANGUL LETTER YA -->
+ <div><span>ᅤ</span><br /><span>ᅤ</span></div> <!-- HANGUL LETTER YAE -->
+ <div><span>ᅥ</span><br /><span>ᅥ</span></div> <!-- HANGUL LETTER EO -->
+ <div><span>ᅦ</span><br /><span>ᅦ</span></div> <!-- HANGUL LETTER E -->
+
+ <div><span>ᅧ</span><br /><span>ᅧ</span></div> <!-- HANGUL LETTER YEO -->
+ <div><span>ᅨ</span><br /><span>ᅨ</span></div> <!-- HANGUL LETTER YE -->
+ <div><span>ᅩ</span><br /><span>ᅩ</span></div> <!-- HANGUL LETTER O -->
+ <div><span>ᅪ</span><br /><span>ᅪ</span></div> <!-- HANGUL LETTER WA -->
+ <div><span>ᅫ</span><br /><span>ᅫ</span></div> <!-- HANGUL LETTER WAE -->
+ <div><span>ᅬ</span><br /><span>ᅬ</span></div> <!-- HANGUL LETTER OE -->
+
+ <div><span>ᅭ</span><br /><span>ᅭ</span></div> <!-- HANGUL LETTER YO -->
+ <div><span>ᅮ</span><br /><span>ᅮ</span></div> <!-- HANGUL LETTER U -->
+ <div><span>ᅯ</span><br /><span>ᅯ</span></div> <!-- HANGUL LETTER WEO -->
+ <div><span>ᅰ</span><br /><span>ᅰ</span></div> <!-- HANGUL LETTER WE -->
+ <div><span>ᅱ</span><br /><span>ᅱ</span></div> <!-- HANGUL LETTER WI -->
+ <div><span>ᅲ</span><br /><span>ᅲ</span></div> <!-- HANGUL LETTER YU -->
+
+ <div><span>ᅳ</span><br /><span>ᅳ</span></div> <!-- HANGUL LETTER EU -->
+ <div><span>ᅴ</span><br /><span>ᅴ</span></div> <!-- HANGUL LETTER YI -->
+ <div><span>ᅵ</span><br /><span>ᅵ</span></div> <!-- HANGUL LETTER I -->
+
+ <!-- FULLWIDTH SIGN -->
+ <br />
+ <div><span>¢</span><br /><span>¢</span></div> <!-- CENT SIGN -->
+ <div><span>£</span><br /><span>£</span></div> <!-- POUND SIGN -->
+ <div><span>¬</span><br /><span>¬</span></div> <!-- NOT SIGN -->
+ <div><span> ̄</span><br /><span> ̄</span></div> <!-- MACRON -->
+ <div><span>¦</span><br /><span>¦</span></div> <!-- BROKEN BAR -->
+ <div><span>¥</span><br /><span>¥</span></div> <!-- YEN SIGN -->
+ <div><span>₩</span><br /><span>₩</span></div> <!-- WON SIGN -->
+
+ <!-- HALFWIDTH SIGN -->
+ <br />
+ <div><span>|</span><br /><span>|</span></div> <!-- FORMS LIGHT VERTICAL -->
+ <div><span>←</span><br /><span>←</span></div> <!-- LEFTWARDS ARROW -->
+ <div><span>↑</span><br /><span>↑</span></div> <!-- UPWARDS ARROW -->
+ <div><span>→</span><br /><span>→</span></div> <!-- RIGHTWARDS ARROW -->
+ <div><span>↓</span><br /><span>↓</span></div> <!-- DOWNWARDS ARROW -->
+ <div><span>■</span><br /><span>■</span></div> <!-- BLACK SQUARE -->
+ <div><span>○</span><br /><span>○</span></div> <!-- WHITE CIRCLE -->
+
+ <!-- HALFWIDTH LATIN -->
+ <br />
+ <div><span>A</span><br /><span>A</span></div>
+ <div><span>B</span><br /><span>B</span></div>
+ <div><span>C</span><br /><span>C</span></div>
+ <br />
+ <div><span>a</span><br /><span>a</span></div>
+ <div><span>b</span><br /><span>b</span></div>
+ <div><span>c</span><br /><span>c</span></div>
+
+ <!-- FULLWIDTH KANA -->
+ <br />
+ <div><span>あ</span><br /><span>あ</span></div>
+ <div><span>い</span><br /><span>い</span></div>
+ <div><span>う</span><br /><span>う</span></div>
+ <div><span>え</span><br /><span>え</span></div>
+ <div><span>お</span><br /><span>お</span></div>
+ <br />
+ <div><span>ア</span><br /><span>ア</span></div>
+ <div><span>イ</span><br /><span>イ</span></div>
+ <div><span>ウ</span><br /><span>ウ</span></div>
+ <div><span>エ</span><br /><span>エ</span></div>
+ <div><span>オ</span><br /><span>オ</span></div>
+ </div>
+ <p id="fontChange" style="display: none;">
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and apply it.
+ <button type="button" onclick="setFontFamily()">
+ Apply
+ </button>
+ </p>
+ <script type="text/javascript">
+ if (document.getElementById) {
+ document.getElementById('fontChange').style.display = 'block'
+ }
+ </script>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-lowercase-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-lowercase-001-ref.xht
new file mode 100644
index 00000000000..aaa40654a4e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-lowercase-001-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: text-transform - lowercase - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if the first sentence matches the second one.
+ </p>
+ <div>
+ <span>all characters should be put in lowercase.</span>
+ </div>
+ <div>
+ <span>all characters should be put in lowercase.</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-none-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-none-001-ref.xht
new file mode 100644
index 00000000000..7cf5b1c6f0e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-none-001-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: text-transform - none - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if the first sentence matches the second one.
+ </p>
+ <div>
+ <span>All words should have no effects.</span>
+ </div>
+ <div>
+ <span>All words should have no effects.</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-uppercase-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-uppercase-001-ref.xht
new file mode 100644
index 00000000000..76b61eacf16
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/text-transform-uppercase-001-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: text-transform - uppercase - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if the first sentence matches the second one.
+ </p>
+ <div>
+ <span>ALL CHARACTERS SHOULD BE PUT IN UPPERCASE.</span>
+ </div>
+ <div>
+ <span>ALL CHARACTERS SHOULD BE PUT IN UPPERCASE.</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-discard-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-discard-001-ref.xht
new file mode 100644
index 00000000000..7f1cb990c3f
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-discard-001-ref.xht
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: white-space-collapsing - discard - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if the first sentence matches the second one.
+ </p>
+ <div>
+ <span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
+ </div>
+ <div>
+ <span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-preserve-breaks-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-preserve-breaks-001-ref.xht
new file mode 100644
index 00000000000..6cebffe2fc8
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-preserve-breaks-001-ref.xht
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: white-space-collapsing - preserve-breaks - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if the first two sentences matches the second one.
+ </p>
+ <p>
+ <span>
+ Sequences of white space should collapse into a single character.<br />
+ But segment breaks as forced line breaks are preserved.
+ </span>
+ </p>
+ <p>
+ <span>
+ Sequences of white space should collapse into a single character.<br />
+ But segment breaks as forced line breaks are preserved.
+ </span>
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-trim-inner-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-trim-inner-001-ref.xht
new file mode 100644
index 00000000000..ee59355916d
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/white-space-collapsing-trim-inner-001-ref.xht
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>CSS Test: white-space-collapsing - trim-inner - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
+ <style type="text/css">
+ <![CDATA[
+ span {
+ color: Blue;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each text positions in the first line match the corresponding positions in the second line.
+ </p>
+ <div>
+ <span>1 2</span>
+ <span>  3  4  </span>
+ <span>5 6</span>
+ <span>7
+
+8</span>
+ </div>
+ <div>
+ <span>1 2</span>
+ <span>  3  4  </span>
+ <span>5 6</span>
+ <span>7
+
+8</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-break-all-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-break-all-001-ref.xht
new file mode 100644
index 00000000000..ebad99c2971
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-break-all-001-ref.xht
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: word-break - break-all - basic cases</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ .test span {
+ word-break: break-all;
+ }
+ /* the CSS below is not part of the test */
+ p.test, p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ width: 10em;
+ }
+ span.attention {
+ color: red;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <p class="test">
+ <span>Filler Text Filler Text Filler Text</span>
+ </p>
+ <p class="control">
+ <span>Filler Text Filler T<br/>ext Filler Text</span>
+ </p>
+ <hr/>
+ <p class="test">
+ <span>満たすための文字 Filler Text</span>
+ </p>
+ <p class="control">
+ <span>満たすための文字 Fil<br/>ler Text</span>
+ </p>
+ <hr/>
+ <p class="test">
+ <span>満たすための文字満たすための文字</span>
+ </p>
+ <p class="control">
+ <span>満たすための文字満た<br/>すための文字</span>
+ </p>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-keep-all-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-keep-all-001-ref.xht
new file mode 100644
index 00000000000..a3421ec70f7
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-keep-all-001-ref.xht
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: word-break - keep-all - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ width: 10em;
+ }
+ span.attention {
+ color: red;
+ }
+ span.no_wrap {
+ white-space: nowrap;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <p class="control">
+ <span>Filler Text Filler<br/>Text Filler Text</span>
+ </p>
+ <p class="control">
+ <span>Filler Text Filler<br/>Text Filler Text</span>
+ </p>
+ <hr/>
+ <p class="control">
+ <span>満たすための文字<br/>Filler Text</span>
+ </p>
+ <p class="control">
+ <span>満たすための文字<br/>Filler Text</span>
+ </p>
+ <hr/>
+ <p class="control">
+ <span class="no_wrap">満たすための文字満たすための文字</span>
+ </p>
+ <p class="control">
+ <span class="no_wrap">満たすための文字満たすための文字</span>
+ </p>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-normal-001-ref.xht b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-normal-001-ref.xht
new file mode 100644
index 00000000000..918408974ef
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/xhtml1/reference/word-break-normal-001-ref.xht
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
+ <head>
+ <title>CSS Test: word-break - normal - basic cases Reftest Reference</title>
+ <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp"/>
+ <style type="text/css">
+ <![CDATA[
+ p.control {
+ border: 1px solid gray;
+ color: blue;
+ font-family: "IPAMincho", "IPAGothic", "IPA明朝", "IPAゴシック";
+ width: 10em;
+ }
+ span.attention {
+ color: red;
+ }
+ ]]>
+ </style>
+ </head>
+ <body>
+ <p>
+ Test passes if each pair of upper and lower text in the square box is identical.
+ </p>
+ <hr/>
+ <p class="control">
+ <span>Filler Text Filler<br/>Text Filler Text</span>
+ </p>
+ <p class="control">
+ <span>Filler Text Filler<br/>Text Filler Text</span>
+ </p>
+ <hr/>
+ <p class="control">
+ <span>満たすための文字<br/>Filler Text</span>
+ </p>
+ <p class="control">
+ <span>満たすための文字<br/>Filler Text</span>
+ </p>
+ <hr/>
+ <p class="control">
+ <span>満たすための文字満た<br/>すための文字</span>
+ </p>
+ <p class="control">
+ <span>満たすための文字満た<br/>すための文字</span>
+ </p>
+ <hr/>
+ <p>
+ <span class="attention">* You will need a Japanese font.</span><br/>
+ If you are unable to see font glyphs for certain characters using the browsers default font, install the <a href="http://ossipedia.ipa.go.jp/ipafont/">IPA Font(http://ossipedia.ipa.go.jp/ipafont/)</a> and reload this page.
+ </p>
+ </body>
+</html> \ No newline at end of file