Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Issue 6993053: Add <b> and <br> tags checking in infering labels. (Closed)

Created:
9 years, 6 months ago by honten.org
Modified:
9 years, 6 months ago
CC:
chromium-reviews, GeorgeY, Ilya Sherman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

In |InferLabelFromPrevious|, <b> tagged element is not considered as inferred label. So <b> tag is added for checking. Also implemented to look for text node prior to <b BUG=76296 TEST=1. Run grabber-bestbuy.com.html. 2. Make sure "6. ZIP 7. UNKNOWN" Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88479

Patch Set 1 #

Patch Set 2 : Add <b> and <br> #

Patch Set 3 : Add unit tests. #

Total comments: 1

Patch Set 4 : Fix nit and test output. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -8 lines) Patch
M chrome/renderer/autofill/form_manager.cc View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/renderer/autofill/form_manager_browsertest.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/08_register_bestbuy.com.out View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
honten.org
Please review.
9 years, 6 months ago (2011-06-06 04:39:28 UTC) #1
dhollowa
Looking at the gabber-bestbuy.com.html the long label is a symptom of bad inferencing, not the ...
9 years, 6 months ago (2011-06-06 21:19:34 UTC) #2
honten.org
David, Could you review? On 2011/06/06 21:19:34, dhollowa wrote: > Looking at the gabber-bestbuy.com.html the ...
9 years, 6 months ago (2011-06-07 03:45:54 UTC) #3
dhollowa
Please add unit tests. On 2011/06/07 03:45:54, honten wrote: > David, > > Could you ...
9 years, 6 months ago (2011-06-07 16:19:04 UTC) #4
takano.naoki_gmail.com
Sure, On Tue, Jun 7, 2011 at 9:19 AM, <dhollowa@chromium.org> wrote: > Please add unit ...
9 years, 6 months ago (2011-06-07 16:39:34 UTC) #5
honten.org
Please review again.
9 years, 6 months ago (2011-06-08 07:14:10 UTC) #6
Ilya Sherman
LGTM http://codereview.chromium.org/6993053/diff/8001/chrome/renderer/autofill/form_manager_browsertest.cc File chrome/renderer/autofill/form_manager_browsertest.cc (right): http://codereview.chromium.org/6993053/diff/8001/chrome/renderer/autofill/form_manager_browsertest.cc#newcode1139 chrome/renderer/autofill/form_manager_browsertest.cc:1139: " id=\"firstname\" value=\"John\"/>" nit: The alignment is one ...
9 years, 6 months ago (2011-06-08 07:21:08 UTC) #7
Ilya Sherman
(But please also wait for David's review before committing.)
9 years, 6 months ago (2011-06-08 07:21:33 UTC) #8
dhollowa
LGTM. Thanks! Please make sure to run against try bots before submitting, or manually running ...
9 years, 6 months ago (2011-06-08 14:51:09 UTC) #9
honten.org
Thanks, guys. I fixed output and now checked "Commit" box. On 2011/06/08 14:51:09, dhollowa wrote: ...
9 years, 6 months ago (2011-06-09 02:32:24 UTC) #10
commit-bot: I haz the power
9 years, 6 months ago (2011-06-09 03:02:24 UTC) #11
Change committed as 88479

Powered by Google App Engine
This is Rietveld 408576698