• Andrew Balholm's avatar
    html: adjust bookmark in "adoption agency" algorithm · 604e10c3
    Andrew Balholm authored
    In the adoption agency algorithm, the formatting element is sometimes
    removed from the list of active formatting elements and reinserted at a later index.
    In that case, the bookmark showing where it is to be reinserted needs to be moved,
    so that its position relative to its neighbors remains the same
    (and also so that it doesn't become out of bounds).
    
    Pass tests1.dat, test 70:
    <DIV> abc <B> def <I> ghi <P> jkl </B>
    
    | <html>
    |   <head>
    |   <body>
    |     <div>
    |       " abc "
    |       <b>
    |         " def "
    |         <i>
    |           " ghi "
    |       <i>
    |         <p>
    |           <b>
    |             " jkl "
    
    Also pass tests through test 76:
    <test attribute---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/5322052
    604e10c3
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...